IsDateTime function
Syntax
IsDateTime(String)
Description
Use the IsDateTime function to determine if String contains a date/time string in the standard PeopleSoft format, that is, in the following format:
yyyy-mm-dd hh:mm:ss.mmmmmm
Parameters
| Parameter | Description |
|---|---|
|
String |
Specify the string you want to search for a valid PeopleSoft date/time. |
Returns
A Boolean value: True if the string contains a valid PeopleSoft date/time, False otherwise.
Example
The following example uses the short form of dot notation, by combining the getting the field value with getting the value of IsDateTime and making it a conditional statement:
If IsDateTime(GetField().Value) Then
/* do date processing */
Else
/* do non-date processing */
End-if;