<number> = Numeric functions: datevaldateval <text>
<number> = Numeric functions: datevaldateval ( <text> )
Text functions: convert Instructions: convertConvert readable date <text> to numeric time Glossary: Valuevalue.
Flow control: returnReturns a numeric Glossary: Valuevalue in Greenwich Mean Time UTC+0:00. Flow control: if … then Flow control: try … thenThe returned time is in seconds Operators: Boolean And with Variable "&&=" Operators: Bitwise And with Variable "&=" Operators: Bitwise And "&" Operators: Boolean And "&&"and may be fractional. Flow control: if … then Flow control: try … thenThe time Integer numbers: Base 256base may vary on different systems. On unix systems it is historically Flow control: if … then Flow control: try … thenthe time since Jan.01 1970.
Operators: Bitwise Not "~" Operators: Boolean Negation "!"Note: Currently (Version 0.8.7) Flow control: if … then Flow control: try … thenthe returned time Glossary: Valuevalue is in List functions: localslocal time. List functions: thisThis will be fixed. Vipsi command syntax: Functions Functions Glossary: FunctionFunction Text functions: datestrdatestr also still works with Flow control: if … then Flow control: try … thenthe List functions: localslocal time, so List functions: thisthis is Operators: Make Identifier "@"at least consistent.
As with all Vipsi command syntax: Functions Functions Glossary: Functionfunctions which accept exactly one Vipsi command syntax: Arguments Glossary: Argumentsargument Flow control: if … then Flow control: try … thenthe Separators: Round brackets "( … )" Functions with varying return types: bracket expression "()"parenthesis are optional Operators: Boolean And with Variable "&&=" Operators: Bitwise And with Variable "&=" Operators: Bitwise And "&" Operators: Boolean And "&&"and may be omitted Flow control: if … then Flow control: if … thenif the Vipsi command syntax: Arguments Glossary: Argumentsargument is no Vipsi command syntax: Expressions Glossary: Expressionexpression with Vipsi command syntax: Operators Operators Glossary: Operatoroperators.
e.g.:
vipsi> Numeric functions: datevaldateval "2002-04-01 12:00" = 1017658800
vipsi> Numeric functions: datevaldateval "2002.04" = 1017529200
vipsi>
|