You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
|`%fulltime`| seconds representing the current time and date (Unix epoch time) |
241
-
|`%timenumbers`| completely consistent full time info in numbers that you can do `_0 = ^burst(%timenumbers)`to get `_0` =seconds (2digit) `_1`=minutes (2digit) `_2`=hours (2digit) `_3`=dayinweek(0-6 Sunday=0) `_4`=dateinmonth (1-31) `_5`=month(0-11 January=0) `_6`=year. <br>You need to get it simultaneously if you want to do accurate things with current time, since retrieving %hour %minute separately allows time to change between calls |
242
-
|`%leapyear`| boolean if current year is a leap year |
243
-
|`%daylightsavings`| boolean if current within daylight savings|
244
-
|`%minute`| 0-59 |
245
-
|`%month`|1-12 (January = 1)|
246
-
|`%monthname`| January, etc|
247
-
|`%second`| 0-59|
248
-
|`%volleytime`| number of seconds of computation since volley input started |
249
-
|`%time`| hh:mm in military 24-hour time |
250
-
|`%week`|1-5 (week of the month) |
251
-
|`%year`| e.g., 2011 |
252
-
|`%rand`| get a random number from 1 to 100 inclusive|
237
+
| `%date` | one or two digit day of the month
238
+
| `%day` |Sunday, etc
239
+
| `%daynumber` | 0-6 where 0 = Sunday
240
+
| `%fulltime` | seconds representing the current time and date (Unix epoch time)
241
+
| `%hour` | 0-23
242
+
| `%timenumbers` | completely consistent full time info in numbers that you can do `_0 = ^burst(%timenumbers)`to get `_0` =seconds (2digit) `_1`=minutes (2digit) `_2`=hours (2digit) `_3`=dayinweek(0-6 Sunday=0) `_4`=dateinmonth (1-31) `_5`=month(0-11 January=0) `_6`=year. <br>You need to get it simultaneously if you want to do accurate things with current time, since retrieving %hour %minute separately allows time to change between calls
243
+
| `%leapyear` | boolean if current year is a leap year
244
+
| `%daylightsavings` | boolean if current within daylight savings
245
+
| `%minute` | 0-59
246
+
| `%month` |1-12 (January = 1)
247
+
| `%monthname` | January, etc
248
+
| `%second` | 0-59
249
+
| `%volleytime` | number of seconds of computation since volley input started
250
+
| `%time` | hh:mm in military 24-hour time
251
+
| `%week` |1-5 (week of the month)
252
+
| `%year` | e.g., 2011
253
+
| `%rand` | get a random number from 1 to 100 inclusive
253
254
254
255
Time and date information are normally local, relative to the system clock of the machine
255
256
CS is running on. See $cs_utcoffset for adjusting time based on relationship to utc (e.g
0 commit comments