5

This seems to me a weird question, but I have gone through the purescript-datetime and purescript-js-date and I just cannot find a way to get current DateTime. Is there some hidden library function or do I have to go through FFI?

ondra
  • 9,122
  • 1
  • 25
  • 34

1 Answers1

9

You can use the now or nowDateTime functions from purescript-now.

Phil Freeman
  • 4,199
  • 1
  • 20
  • 15