DateManager Class
The DateManager class provides routines to handle dates and conversions.
The available date formats are the following :
JJCNES_FRAC-dddd.ffffJJCNES_SEC-dddd ssss.ffffJJ2000_MSDAY-dddd mmmmmmmmvESA_YEARDAY-yyyy-ddd hh.mm.ss.mmmISO8601-yyyy/mm/dd hh:mm:ss.mmmUSA-mm/dd/yyyy hh:mm:ss.mmmEUR-dd/mm/yyyy hh:mm:ss.mmmGPS_SECONDS-wwww ssss.ffffSECONDS-ssss.ssssUNIX-ssss.ssssUNIXMS-ssss.ssssUNIXUS-ssss.ssss
Public Functions
Detailed Functions Descriptions
format
format{ date format }
Convert a PrestoPlot internal date (Unix timestamp GMT) to the specified format. See DateManager. for the format list.
Parameters :
-
date: A PrestoPlot internal date (Unix timestamp GMT) -
format: The date format to convert the date to.
scan
scan{ date format }
Return the given date in the PrestoPlot internal format. The given date will be converted from the specified input format. If the format is not specified, PrestoPlot will try to guess it, according to its configuration.
Parameters :
-
date: The string date to convert into internal PrestoPlot format. -
format:(Optional)The input format (see DateManager). If not specified, PrestoPlot will try to guess it.
Return : A PrestoPlot internal date.