This is a simple class that instances a time signature, current or previous, and simplifies the need to over check the date() syntax.
| Function | Output | Day() | 21 | WeekDay() | Monday | Month() | May | MonthShort() | May | MonthNum() | 5 | YearFull() | 2012 | Year() | 12 | MilitaryFull() | 0:15:46 | Military() | 0:15 | StandardFull() | 12:15:46 am | Standard() | 12:15 am | TextDate() | May 21 2012 | TextDateShort() | May 21 12 | NumDate() | 5/21/2012 | NumDateShort() | 5/21/12 | MonthDay() | May 21 | MonthDayShort() | May 21 |
You can also use the class to calculate in text the time difference from a previous time stamp compared to current time. This script randomly generates a time difference for an example. (Example timestamp difference of: 6831)
The old time stamp was from... About a day ago...