Date and Time Functions

Procedures that work with dates and time.

Description
	These procedures provide ways to deal with date and time intervals in a 
	consistent way. Additional procedures are provided to set and get the 
	current system date and time, and to retrieve a time stamp for sensitive 
	timing algorithms.

#VBCOMPATVisualBasic compatible procedures
	Procedures for working with so-called ProPgDatesdate serials, similar to those 
	used in Visual Basic(r).
#DATETIMEDate and time procedures
	Procedures for working with the system date and time.

VBCOMPATVisualBasic compatible procedures
	KeyPgNowNow
		Gets a ProPgDatesdate serial of the current date and time.

	Creating Date serials
		KeyPgDateSerialDateSerial
			Gets the ProPgDatesdate serial representation of a date.
		KeyPgTimeserialTimeSerial
			Gets the ProPgDatesdate serial representation of a time.
		KeyPgDateValueDateValue
			Gets the ProPgDatesdate serial representation of a date expressed as a KeyPgStringString
			.
		KeyPgTimeValueTimeValue
			Gets the ProPgDatesdate serial representation of a time expressed as a KeyPgStringString
			.

	Extracting information from Date serials
		KeyPgSecondSecond
			Gets the seconds of the hour from a ProPgDatesdate serial.
		KeyPgMinuteMinute
			Gets the minutes of the hour from a ProPgDatesdate serial.
		KeyPgHourHour
			Gets the hour of the day from a ProPgDatesdate serial.
		KeyPgDayDay
			Gets the day of the month from a ProPgDatesdate serial.
		KeyPgWeekdayWeekday
			Gets the day of the week from a ProPgDatesdate serial.
		KeyPgMonthMonth
			Gets the month of the year from a ProPgDatesdate serial.
		KeyPgYearYear
			Gets the year from a ProPgDatesdate serial.
		KeyPgDatePartDatePart
			Gets a time interval from a ProPgDatesdate serial.

	Extracting information from Date serials
		KeyPgDateAddDateAdd
			Gets the result of a time interval added to a ProPgDatesdate serial.
		KeyPgDateDiffDateDiff
			Gets a time interval between two ProPgDatesdate serials.

	Miscellaneous
		KeyPgIsDateIsDate
			Tests if a KeyPgStringString can be converted to a ProPgDatesdate serial.
		KeyPgMonthnameMonthName
			Gets the month name of its integer representation.
		KeyPgWeekdaynameWeekdayName
			Gets the weekday name of its integer representation.
DATETIMEDate and time procedures
	KeyPgDateDate
		Gets the KeyPgStringString representation of the current system date.
	KeyPgTimeTime
		Gets the KeyPgStringString representation of the current system time.
	KeyPgSetdateSetDate
		Sets the current system date.
	KeyPgSettimeSetTime
		Sets the current system time.
	KeyPgTimerTimer
		Gets a counter expressed in seconds.

