This shows you the differences between two versions of the page.
en:second [2016/08/12 12:51] admin |
en:second [2020/02/28 10:46] |
||
---|---|---|---|
Line 1: | Line 1: | ||
- | ===== Second (Function) ===== | ||
- | ==== Format ==== | ||
- | **second**\\ | ||
- | **second** ( ) | ||
- | |||
- | returns [[integerexpressions|integer_expression]] | ||
- | |||
- | ==== Description ==== | ||
- | Returns the current system clock' | ||
- | ==== Example ==== | ||
- | < | ||
- | # display nice date | ||
- | dim months$(12) | ||
- | months$ = {" | ||
- | print year + " | ||
- | # display pretty time | ||
- | h = hour | ||
- | if h > 12 then | ||
- | h = h - 12 | ||
- | ampm$ = " | ||
- | else | ||
- | ampm$ = " | ||
- | end if | ||
- | if h = 0 then h = 12 | ||
- | print right(" | ||
- | </ | ||
- | Will print something like.\\ | ||
- | < | ||
- | 2010-July-15 | ||
- | 10-00-02 PM | ||
- | </ | ||
- | |||
- | ==== See Also ==== | ||
- | {{page> | ||
- | |||
- | ==== History ==== | ||
- | |0.9.4|New To Version| | ||