XML Script logo
Function date_parse
Name

date_parse

Returns

number

Parameter count

1

Parameter 1

date, a string

Description

Converts 'date' into a UTC timestamp.This function guesses the format of the date string, and returns -1 if it could not interpret it. Consequently dates of the form dd/mm/yy or mm/dd/yy are not supported since it is impossible to distinguish between them. It is also quite slow since it has to search through possible formats. See also date_convert.

Examples of use

                                
                        

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