[PD-dev] common date format for Pd

martinrp at alcor.concordia.ca martinrp at alcor.concordia.ca
Tue Jun 13 01:37:04 CEST 2006


Quoting Hans-Christoph Steiner <hans at eds.org>:

> 
> Yeah, I guess that makes sense to avoid symbols.  In which case, it  
> probably makes sense to split up the UNIX time_t into two numbers,  
> the first is the date in days, the maximum being 49,710 days, then  
> the time of day in seconds, the maximum being 86,400 seconds, then  
> the number of fractional seconds as a float (eg. 0.023414)
> 

It seems way more logical to me to split it into years and day of year at
least.
Of course we could work with katuns and tuns like the Maya, it's arguably a
more
rational system ;).
Martin


> It seems to me that breaking up the time into each component leads to  
> some very long lists, so this method would be more compact.  The  
> parsing of this format could easily be done with Pd core.

A 7-component list is too much for pd?

Martin







More information about the Pd-dev mailing list