Results 1 to 2 of 2
- 06-10-2014, 05:12 PM #1Member
- Join Date
- May 2014
- Rep Power
Is there any way to represent UTC time in Java 8's java.time package?
Is there any way to represent UTC time in Java 8's java.time package? The classes in java.time like LocalDateTime and LocalTime give an offset from UTC. But I need actual UTC time representation. I don't want to use the deprecated Calendar or Date class because they are discouraged and difficult to work with. So I am just looking for a simple example of printing out utc time using java.time.
- 06-10-2014, 05:15 PM #2
- By Bonia in forum New To JavaReplies: 5Last Post: 02-29-2012, 11:07 AM
- By junaid in forum New To JavaReplies: 3Last Post: 12-07-2011, 08:00 AM
- By javatrek2020 in forum Jobs OfferedReplies: 3Last Post: 08-23-2011, 12:46 PM