cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
Showing results for 
Search instead for 
Did you mean: 

Community Tip - Need help navigating or using the PTC Community? Contact the community team. X

DateDifference Snippets

lwei
1-Visitor

DateDifference Snippets

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 1
PaiChung
22-Sapphire I
(To:lwei)

It returns milliseconds

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

Announcements


Top Tags