Skip to main content
1-Visitor
February 18, 2016
Question

DateDifference Snippets

  • February 18, 2016
  • 1 reply
  • 1862 views

Hi ,developers!

I use the datedifference snippet,

choose two different date 2/18 00:00  - 2/19 00:00

it comes out 1455811200000

is it a special number or something? Can I format this number into a time or something??

Lee

1 reply

22-Sapphire I
February 18, 2016

It returns milliseconds

What it does it takes the date, and takes the milliseconds from epoch and then does the calculations