Get current time / date in purescript

This seems like a strange question to me, but I went through purescript-datetime

and purescript-js-date

, and I just can't seem to find a way to get the current one DateTime

. Is there a hidden library function or do I need to go through FFI?

+3
purescript


source to share


1 answer


You can use functions from now

or nowDateTime

from purescript-now

.



+4


source to share







All Articles
Loading...
X
Show
Funny
Dev
Pics