Updated program to use seconds instead of minutes and return HHMMSS
instead of HHMM.