I'm looking for a way to convert the following date format: "7/31/2015 6:04:04 AM" (which is d/m/yyyy h:mm:ss AM/PM) into an epoch timestamp in seconds.
I can't find how to do this with blquery (if it's possible), anyone know a way to do this in as little lines of code as possible?
Then use strftime
Nice ! Will try that !
should be like:
strftime -r '%m/%d/%Y %r' '7/31/2015 6:04:04 AM'
Works like a charm !!! Thanks