NextPVR Forums
  • ______
  • Home
  • New Posts
  • Wiki
  • Members
  • Help
  • Search
  • Register
  • Login
  • Home
  • Wiki
  • Members
  • Help
  • Search
NextPVR Forums Public Developers v
« Previous 1 … 6 7 8 9 10 … 93 Next »
<StartTime> and <EndTime> time formats?

 
  • 0 Vote(s) - 0 Average
<StartTime> and <EndTime> time formats?
spinnaker
Offline

Member

Posts: 82
Threads: 23
Joined: Sep 2013
#1
2013-10-25, 01:21 AM
Can someone tell me what the time format is for the <StartTime> and <EndTime> tags? Is that universal time? I assume the 0000000Z following the seconds is fractions of seconds? Any tips in outputting this time using the .Net DateTime class? Or do I meed to use the brute force method? Smile
mvallevand
Online

Posting Freak

Ontario Canada
Posts: 54,438
Threads: 973
Joined: May 2006
#2
2013-10-25, 01:30 AM
spinnaker Wrote:Can someone tell me what the time format is for the <StartTime> and <EndTime> tags? Is that universal time? I assume the 0000000Z following the seconds is fractions of seconds? Any tips in outputting this time using the .Net DateTime class? Or do I meed to use the brute force method? Smile

NextPVR is UTC based. Depending on how you want to use it, for anything other than display, just keep it as is DateTime.Parse should understand the Z though for outputting local time.

Martin
spinnaker
Offline

Member

Posts: 82
Threads: 23
Joined: Sep 2013
#3
2013-10-25, 01:46 AM
But Parse returns a DateTime object. I need to return a string in the format acceptable by NextPVR import.
spinnaker
Offline

Member

Posts: 82
Threads: 23
Joined: Sep 2013
#4
2013-10-25, 01:48 AM
Ah looks like ToString of DateTime allows for a format string.
« Next Oldest | Next Newest »

Users browsing this thread: 1 Guest(s)



Possibly Related Threads…
Thread Author Replies Views Last Post
  How to convert the startTIme value in json response? JavaWiz 3 2,447 2020-04-25, 12:35 AM
Last Post: JavaWiz
  Extending end time. mvallevand 5 4,632 2018-10-17, 01:21 PM
Last Post: jcole998
  Extending recording time mvallevand 2 2,866 2014-09-14, 01:04 AM
Last Post: sub
  Time to make Touch web Service less experimental fred250 106 36,095 2014-06-15, 09:13 PM
Last Post: fred250
  SQL SELECT DISTINCT (and not distinct at the same time) bgowland 2 4,381 2012-01-22, 10:19 PM
Last Post: bgowland
  Date Time display Northpole 0 1,688 2011-08-01, 04:28 PM
Last Post: Northpole
  N-PVR db3 EPG_EVENT time format question bgowland 3 2,603 2011-03-12, 05:26 AM
Last Post: bgowland
  Which channel logo image formats does npvr support? bgowland 2 2,490 2011-03-06, 05:43 AM
Last Post: bgowland
  Suppressing the Date/Time field from global.xml ACTCMS 7 3,969 2010-11-18, 01:36 AM
Last Post: ACTCMS
  metadata xml formats JavaWiz 18 6,605 2009-02-03, 01:21 AM
Last Post: sub

  • View a Printable Version
  • Subscribe to this thread
Forum Jump:

© Designed by D&D, modified by NextPVR - Powered by MyBB

Linear Mode
Threaded Mode