This shows you the differences between two versions of the page.
Next revision | Previous revision | ||
date_20formatting_20extended_20functionality [2018/03/31 14:19] 127.0.0.1 external edit |
date_20formatting_20extended_20functionality [2018/04/21 10:03] (current) richardrussell Tidied up formatting |
||
---|---|---|---|
Line 1: | Line 1: | ||
- | =====Date Formatting Extended Functionality===== | + | ===== Date$ Formatting |
- | ====== Date$ Formatting - Extended Functionality ====== | + | LBB has extended functionality when using Date$() .\\ \\ LBB will return the date in any format that can be constructed from the following elements, in any order, separated by '/' |
- | LBB has extended functionality when using Date$() .\\ \\ LBB will return the date in any format that can be constructed from the following elements, in any order, separated by '/' | + | |
| d\\ | Day of month as digits with no leading zero for single-digit days.\\ | | | d\\ | Day of month as digits with no leading zero for single-digit days.\\ | | ||
Line 15: | Line 14: | ||
| yy\\ | Year as last two digits, but with leading zero for years less than 10.\\ | | | yy\\ | Year as last two digits, but with leading zero for years less than 10.\\ | | ||
| yyyy\\ | Year represented by full four digits.\\ | | | yyyy\\ | Year represented by full four digits.\\ | | ||
- | \\ | + | |
+ | For example, | ||
+ | <code lb> | ||
Print date$(" | Print date$(" | ||
+ | </ | ||
Would output: | Would output: | ||
Sunday 30-January-2012 | Sunday 30-January-2012 |