<number> = Numeric functions: nownow
Flow control: returnReturn current time as a Glossary: Valuevalue.
Flow control: returnReturn current time 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 is 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 is Flow control: if … then Flow control: try … thenthe 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.
e.g.
Instructions: putput "current date Operators: Boolean And with Variable "&&=" Operators: Bitwise And with Variable "&=" Operators: Bitwise And "&" Operators: Boolean And "&&"and time = ", Text functions: datestrdatestr(Numeric functions: nownow), Constants: nlnl;
Instructions: var How does VScript::Value() work?: Var*&var a=0, t0=Numeric functions: nownow;
Flow control: do … loopdo Flow control: whilewhile ++a<100000; Flow control: do … looploop;
Instructions: putput "time=", now-t0;
|