[mythtv-users] UTC and database starttime
Yan Seiner
yan at seiner.com
Wed Jan 22 00:04:41 UTC 2014
On 01/21/2014 03:03 PM, Yan Seiner wrote:
> I've been beating my head against UTC in python for a while now...
>
> The database returns the timestamp in this format:
>
> 2008-08-24 15:30:00-07:00
>
> However, to feed it to mythutil or transcode, I need it in UTC, all
> smushed together:
>
> 20080824223000
>
> I've been searching in vain for some neat, clean way to convert the
> date I get out of the database into UTC and reformat it into the
> starttime format....
>
> How does one go about this?
Never mind; further reading and a step away and I found that you can
supply the filename as the argument, getting around the issue altogether.
:)
More information about the mythtv-users
mailing list