How to Print the Current Time in Human Readable Format in Java?
currentTimeMillis and nanoTime give the current System time in milliseconds and nano seconds. But this is not understood by humans, since the value returned by these functions is the amount of time passed since January 1,1970 To be able to display the time in human readable format, we make use of the java.util.Calendar. Calendar.getInstance() gives [...]
How to find the Greenwich Mean time in Perl?
Using localtime, you can find the local time. But to find the greenwich mean time also known as GMT, you must make use of the function gmt.
How to calculate the year of day in Perl
Day of the year is the number of days passed since January 1st of this year. localtime gives a lot of information like hours, minutes, seconds, month, day and year. It also returns day of the year