converted String for date and time to long format