 |
ALPHA-VISION® String Functions: CnvrtTimeToStr
|
CnvrtTimeToStr
SUMMARY
CnvrtTimeToStr - A time is converted into a string
SYNTAX
CnvrtTimeToStr(
<FormatStr, TimeVal>);
ARGUMENTS
- FormatStr (type:string)
-
Input format, see Time Format
- TimeVal (type:integer)
-
The Time
DESCRIPTION
Stack
- Missing arguments are taken from the stack.(and removed from there).
- The result is pushed onto the stack.
Effect
A time is converted into a string
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