format for date + time?

All questions about the GEXF (see http://gexf.net before)
Post Reply [phpBB Debug] PHP Warning: in file [ROOT]/vendor/twig/twig/lib/Twig/Extension/Core.php on line 1275: count(): Parameter must be an array or an object that implements Countable
User avatar
seinecle
Gephi Community Support
Posts:546
Joined:08 Feb 2010 16:55
Location:Lyon, France
Contact:
format for date + time?

Post by seinecle » 24 Jun 2012 14:12

Hi,

I'd like to have a dynamic graph with different times of the day. I see how to format days (dates), basically that's yyyy-mm-dd. But I could not find how dates + time (with hours, minutes and seconds) should be formatted in the gexf?

Can anyone point me to the proper specifications?

Thx,

Clement

admin
Gephi Community Manager
Posts:964
Joined:09 Dec 2009 14:41
[phpBB Debug] PHP Warning: in file [ROOT]/vendor/twig/twig/lib/Twig/Extension/Core.php on line 1275: count(): Parameter must be an array or an object that implements Countable

Re: format for date + time?

Post by admin » 24 Jun 2012 15:20

Use xsd:dateTime format:

http://books.xmlschemata.org/relaxng/ch19-77049.html

e.g. 2001-10-26T21:32:52

User avatar
seinecle
Gephi Community Support
Posts:546
Joined:08 Feb 2010 16:55
Location:Lyon, France
Contact:

Re: format for date + time?

Post by seinecle » 24 Jun 2012 15:46

thx!!

gephi_gold
Posts:2
Joined:24 May 2013 21:21
Location:United States
[phpBB Debug] PHP Warning: in file [ROOT]/vendor/twig/twig/lib/Twig/Extension/Core.php on line 1275: count(): Parameter must be an array or an object that implements Countable

Re: format for date + time?

Post by gephi_gold » 12 Jun 2013 19:16

I tried using this format (2012-06-06T00:00) and got an error again.

User avatar
seinecle
Gephi Community Support
Posts:546
Joined:08 Feb 2010 16:55
Location:Lyon, France
Contact:

Re: format for date + time?

Post by seinecle » 12 Jun 2013 19:34

In the example you give a pair of numbers is missing at the end?

=> 2012-06-06T00:00 should be 2012-06-06T00:00:00 I think

Best,

Clement

poojawadhwa
Posts:5
Joined:15 Nov 2013 07:26
[phpBB Debug] PHP Warning: in file [ROOT]/vendor/twig/twig/lib/Twig/Extension/Core.php on line 1275: count(): Parameter must be an array or an object that implements Countable

Re: format for date + time?

Post by poojawadhwa » 18 Nov 2013 08:25

HI, i want to do similar thing. can u post the sample file with time interval specified in the above format?

Post Reply
[phpBB Debug] PHP Warning: in file [ROOT]/vendor/twig/twig/lib/Twig/Extension/Core.php on line 1275: count(): Parameter must be an array or an object that implements Countable
[phpBB Debug] PHP Warning: in file [ROOT]/vendor/twig/twig/lib/Twig/Extension/Core.php on line 1275: count(): Parameter must be an array or an object that implements Countable