Jump to content

EPG API Date format


SuppaMan

Recommended Posts

Hi!
I'd like to use the api provided with the Media Server to retrieve the current day's EPG, but i can't find any information on how to input the date in the query parameter.
The only information I got is that it is in float64, but I never hear of this format.
Can you help me?

Link to comment
vor 9 Stunden schrieb SuppaMan:

The only information I got is that it is in float64, but I never hear of this format.

 

Since the Media Server is developed with Delphi, the API uses the Delphi TDateTime format:

 

https://docwiki.embarcadero.com/Libraries/Sydney/en/System.TDateTime

 

Searching the web for TDateTime yields more information, if you need it.

 

I think the API should be extended in a way that enables passing date and time in a more convenient format, e.g. something close to ISO 8601.

 

Link to comment
vor 11 Minuten schrieb SuppaMan:

I agree that the date should be passed in a more common way

 

ISO date/time as input format will be available in the next release. It has been coded today :)

 

Link to comment

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Unfortunately, your content contains terms that we do not allow. Please edit your content to remove the highlighted words below.
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...