Returns the date of the latest snapshot (as of the calculation date passed, excluding dynamic snapshots).
GETSNAPSHOTDATE(LookupType)
LookupType (optional): refer to the following list for a description of LookupType definitions.
GETSNAPSHOTDATE(1): returns the date of the latest locked snapshot. If there is none, the function will return 0.