java - System Time is 10 Digit , How? -


i have question current system time. have software based on command line. when run software, shows me time @ both start , end of execution. ie

  • start: the current system time is: 1378258559
  • end: the current system time : 1378258570

i not know if time in seconds or minutes. how 1378258559 calculated? difference between 2 numbers 11.

fyi, current date , time on system is: 04/09/2013 9:50 am

this website has calculator:

it number of seconds since january 1st, 1970 @ midnight gmt.

the 11, because took 11 seconds.

here's post explaining why 1970 chosen along definition:

  • unix time, or posix time, system describing points in time, defined number of seconds elapsed since midnight proleptic coordinated universal time (utc) of january 1, 1970, not counting leap seconds.

why dates calculated january 1st, 1970?


Comments

Popular posts from this blog

html - How to style widget with post count different than without post count -

How to remove text and logo OR add Overflow on Android ActionBar using AppCompat on API 8? -

javascript - storing input from prompt in array and displaying the array -