 |
ALPHA-VISION® String Functions: CnvrtStrToTime
|
CnvrtStrToTime
SUMMARY
CnvrtStrToTime - A string is converted to time.
SYNTAX
CnvrtStrToTime(
<FormatStr, Text>);
ARGUMENTS
- FormatStr (type:string)
-
The input format, see Time Format
- Text (type:string)
-
The Time
DESCRIPTION
Stack
- Missing arguments are taken from the stack.(and removed from there).
- A string is converted to time.
Effect
A string is converted to time.
EXAMPLES
//Stack before: empty
//create Time Value
CnvrtStrToTime("DD.MM.YYYY hh:mm:ss,ttt", "01.02.2003 14:30:00,000");
CnvrtTimeToStr("YY-MM-DD hh:mm:ss");
//Stack afterwards: (1 Element):
//"03-02-01 14:30:00"
Syntax Notation
- [aaa]
- aaa is optional (zero or one occurences)
- (aaa|bbb)
- aaa exclusive or bbb
- (aaa)*
- aaa may occur indefinitely often or may be omitted
- (aaa)+
- aaa may occur indefinitely often but at least once
- (aaa)m..n
- aaa may occur from m to n times