Is it possible to convert a list of local time into UTC?The list of local time is in a text file and I want it to create another text file with a list but in UTC. If possible what command could helpLocal time(PST)yearmonth day hour min sec2016  03   01  13   15  002016  05   12  16   01  222016  12   23  09   11  11Above is a sample format inside of a text file.
Local time to UTC
date;time
The basic command is date.  For your first date, you could type indate -u --date=2016-03-01T13:15:00PSTOf course you want read the text file, so you could do something likeawk '{print date -u --date=$1-$2-$3T$4:$5:$6PST}' file.txt | shAnd there are plenty of other ways to process the text file.  The man page for date has info on how to format the output.