Aug-20-2017, 10:06 PM
(Aug-20-2017, 09:51 PM)Larz60+ Wrote: try this:
import time import datetime def get_timestamp(): t = time.time() return t, datetime.date.fromtimestamp(t) t, ts = get_timestamp() print('t: {}, timestamp: {}'.format(t, ts))
No that didnt work, or i did it wrong being a newbie and all..hahaha...
i kept this bit in too, is that right?
#Grab the current date & time timestamp = time.strftime("%Y-%m-%d_%H:%M:%S")when mp4box converts to mp4 and adds the timestamp its just overwriting the original as i have it down to the seconds on the timestamp