2006-05-24

BDB XML & Metadata

time_t now = time( 0 );
char timeString[100];

strftime(timeString, 100, "%Y-%m-%dT%H:%M:%S", localtime( &now ) );

newdoc.setMetaData( "", "created", timeString);