(cur-local-time)
Utility function to get the current time in NYC.
Utility function to get the current time in NYC.
(cur-ny-time)
Utility function to get the current time in NYC.
Utility function to get the current time in NYC.
(get-day-of-week ts)
Takes a timestamp in seconds and returns the day of the week, assuming NY time.
Takes a timestamp in seconds and returns the day of the week, assuming NY time.
(market-time ts)
(market-time zone ts)
Input ts, in milliseconds Returns ts if it is a valid market time, otherwise the next possible market time
Input ts, in milliseconds Returns ts if it is a valid market time, otherwise the next possible market time
(ts-start-of-day ts)
Takes a timestamp, returns the timestamp of the start of that day, NY time. Note that ZoneId/systemDefault is used, but the data is crawled in a Europe/Berlin timezone server.
Takes a timestamp, returns the timestamp of the start of that day, NY time. Note that ZoneId/systemDefault is used, but the data is crawled in a Europe/Berlin timezone server.
cljdoc is a website building & hosting documentation for Clojure/Script libraries
× close