Nsf database creation time through C API

All,

Is anyone aware of how to find the NSF database creation time via notes API?

Like NSFDbModifiedTime helps in finding the NSF modified time, apparently there’s no such straight API to get creation time.

Any pointer to right API will be of good help to me.

Thanks & Regards,

~raghav

Subject: You can use NSFDbIDGet

Function : Database

NSFDbIDGet - Get the database’s ID (DBID).


#include <nsfdb.h>

STATUS LNPUBLIC NSFDbIDGet(
DBHANDLE hDB,
DBID far *retDbID);

Description :

This function obtains the database's ID or creation time/date.  This TIMEDATE structure is NOT normalized to Greenwich Mean Time, so it still contains both the local time zone and the daylight savings time settings for the time zone where the database was created.

Parameters :

Input :
hDB - A handle to a Domino database.

Output :
(routine) - Always returns NOERROR.

retDbID - The addres of a DBID or TIMEDATE structure in which the creation time/date of the database is returned. Given that it is not GMT normalized and its base unit of storage is 10 milli-second intervals, this ID can be reliably used as a unique world-wide identifier of a particular copy or replica of a database.

Subject: Solevd!

Thanks Dan, works like a charm with this.