date_20formatting_20extended_20functionality
This is an old revision of the document!
Date Formatting Extended Functionality
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 '/' or '-':
| d | Day of month as digits with no leading zero for single-digit days. |
| dd | Day of month as digits with leading zero for single-digit days. |
| ddd | Day of week as a three-letter abbreviation. |
| dddd | Day of week as its full name. |
| m | Month as digits with no leading zero for single-digit months. |
| mm | Month as digits with leading zero for single-digit months. |
| mmm | Month as a three-letter abbreviation. |
| mmmm | Month as its full name. |
| y | Year as last two digits, but with no 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. |
For example,
Print date$("dddd dd-mmmm-yyyy")
Would output:
Sunday 30-January-2012
date_20formatting_20extended_20functionality.1523979774.txt.gz · Last modified: 2024/01/05 00:18 (external edit)