![]() |
|||
|
|||
Usage |
date_convert converts different time formats to UTC. The time format being input has to be specified (See functions for the different formats). Multiple formats can be included in one call. If not all information is provided when using the various formats then the current date is assumed to be today, the time is 00:00:00. If more than one format is used and information is duplicated (eg hours is given twice) then the format which is given last is the one which UTC is based on. If a 2 digit year is entered and it is smaller than 70 it is assumed to be 20xx, if it is bigger than 70 then it is 19xx. |
||
date_parse converts time formats to UTC. The time format being input does not have to be specified. dd/mm/yy and mm/dd/yy are not supported as it is not possibble to tell the difference between them. |
|||
date_str converts a UTC timestamp into a number of formats (specified in the functions section). Multiple formats can be included with the same function call. The output will match the input. I.e. any text which does not match the formatting types will be placed into the output. |
|||
days_between returns the number of full days beteen 2 numbers which are defined in seconds. |
|||
Examples | |||
Version |
1.1 |
||
Ref |
t.62 |
||
Date |
21 December 1999 |
||
XML Script homepage | Documentation home | XML Script docs | Command list | Function list | X-Tract docs X-Stream, X-Tract and XML Script are trade marks of DecisionSoft Limited© Copyright 1998-2000 DecisionSoft Limited |