|
InternetTimeToDateTime function
Date/Time routines |
|
| acUtils
|
| function InternetTimeToDateTime(InternetTime: String): TDateTime;
|
| The InternetTimeToDateTime function converts the string representation of date time to the TDateTime variable.
|
|
|
| The InternetTime parameter is the string representation of the date/time returned by Internet servers in following maner:
|
| day_of_week, day month year hour:min:sec offset
|
| for example:
|
| Sat, 19 Oct 2002 19:45:16 GMT, or Fri, 23 Feb 1999 6:02:37 GMT+2
|
|
|
| The function will convert this string to the local time, accordingly to GMT offset (specified in the string) between client and server, and the daylight bias on local machine.
|
|
|
| StrToDateTimeDef function;
|
| GMTToLocalTime and LocalTimeToGMT functions.
|