Skip to main content

Java 8 API: java.time.Instant

Epoch time is the number of seconds since January 1st, 1970. 1 minute – 60 seconds 1 hour – 3600 seconds 1 day – 86400 seconds Creating an Epoch Time The easiest way to create epoch time is, using Systerm.currentTimeMillis()

This time format is not human readable, but it’s suitable to store in a database, business […]

Read More

RSS
Follow by Email
Facebook
Facebook
Google+
http://mydevgeek.com/category/java/page/3
Twitter