-
Notifications
You must be signed in to change notification settings - Fork 18
time.q
Jas edited this page Jul 25, 2018
·
2 revisions
This library includes time accessor and utility functions for time/dates.
Returns a boolean true
if the specified date falls between Monday and Friday. Otherwise, it returns false
.
Returns a 3 letter symbol signifying the day of a specified date. These constants are set by .time.c.days
and can be overridden if required.
q) .time.getDay 2018.07.21
`sat
Takes the current time and formats it specifically for use in file names. The output format is 'yyyymmdd_hhMMss_SSS'
q) .time.nowForFileName[]
"20180725_123248_906"
Takes the current date and formats it specifically for use in file names. The output format is 'yyyymmdd'
q) .time.todayForFileName[]
"20180725"
Copyright (C) Sport Trades Ltd 2017 - 2020, John Keys and Jaskirat Rajasansir 2020 - 2024