markx
2018-8-3 17:17:03
Hi what is a good way to get a timestamp string, something like 2018/08/03 13:16:49
?
lexi.lambda
2018-8-3 17:48:06
@markx The gregor library is nice for dealing with dates and times. http://docs.racket-lang.org/gregor/index.html
lexi.lambda
2018-8-3 17:49:04
Specifically, you probably want ~t
. http://docs.racket-lang.org/gregor/time-format.html#%28def._%28%28lib._gregor%2Fmain..rkt%29._~7et%29%29
markx
2018-8-3 22:58:51
ah thanks.