XML Script logo
Examples of date_convert
Code
Examples of multiple parameter input for format type
#date_convert("12/05/99-23-23", "%D-%H-%M")#


Example of the parameter overwriting  - the minutes will be 23 not 46
#date_convert("01/01/1999-1:15:46-23", "%D-%T-%M")#

Other examples
#date_convert("07/05/76-12:22:46 pm", "%D-%r")#

#date_convert("12/30/99", "%D")#

Incorrect syntax
#date_convert("2050", "%%")#

#date_convert("", "%Y")#
Output
Examples of multiple parameter input for format type
944436180

Example of the parameter overwriting  - the minutes will be 23 not 46
915153826

Other examples
205413766

946512000

Incorrect syntax
-1

-1
Ref

x.6201

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