I'm trying to get the DateString in Clojurescript: new Date(1420971497471).toDateString();
I am having trouble because (js/Date 1420971497471) returns a string, so I can't call .toDateString().
Here's my Clojurescript code:
(.toDateString (js/Date 1420971497471))
// Uncaught TypeError: undefined is not a function
(.toDateString (js/Date. 1420971497471))
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With