Unix Timestamp support?

Hey, I think it would be great if you guys included Unix timestamp support for scal. Thanks a bunch if you do implement it.

Epoch converter

jamiegrove's picture

Hi,

Are you talking exporting an epoch time from a date object? I believe you can do that by using this equation:

(d.getTime()-d.getMilliseconds())/1000

Or did you have something different in mind?

Post new comment

The content of this field is kept private and will not be shown publicly.
  • Web page addresses and e-mail addresses turn into links automatically.
  • Allowed HTML tags: <a> <em> <strong> <cite> <code> <ul> <ol> <li> <dl> <dt> <dd>
  • Lines and paragraphs break automatically.

More information about formatting options