convert a time data into a Epoch/Unix time
    11 views (last 30 days)
  
       Show older comments
    
    Hsinho Huang
 on 8 Jan 2017
  
    
    
    
    
    Commented: Walter Roberson
      
      
 on 7 Dec 2018
            The time data are saved as DATE and TIME in the two columns of a Excel worksheet. How can I convert them into a Epoch/Unix time by Matlab?
 DATE          TIME
 24-DEC-2016   04:31:04:59
0 Comments
Accepted Answer
  Walter Roberson
      
      
 on 8 Jan 2017
        
      Edited: Walter Roberson
      
      
 on 7 Dec 2018
  
      posixtime( datetime(strcat(DATE, {' '}, TIME), 'InputFormat', 'dd-MMM-yyyy hh:mm:ss:SS') )
0 Comments
More Answers (1)
See Also
Categories
				Find more on Dates and Time in Help Center and File Exchange
			
	Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!

