SetDateFormat

Sets the format and separator for the date string.

Function Group Execution Windows Embedded Thin Client Mobile Access
SetDateFormat System Info Synchronous Supported Supported Supported Not supported

Syntax

  SetDateFormat( strSeparator, strFomat )  
strSeparator
The separator character for the date string.
strFormat
String tag, which specifies the order of the Month (M), Day (D), and Year (Y) in the date string.
DMY Day, Month, Year
MDY Month, Day, Year
YMD Year, Month, Day

Returned value

0 No error
1 Invalid parameter

Examples

Tag Name Expression
Tag SetDateFormat( “/”, “MDY” ) // Date = 04/18/2002
Tag SetDateFormat( “:”, “MYD” ) // Date = 04:2002:18

SetDateFormat