On 4/7/19 8:39 AM, RT wrote:
Is there a way to get Epoch time in pure data using just Vanilla Objects only? I looked at http://write.flossmanuals.net/pure-data/time/ but it's in extended "utime cxc flatspace output seconds since epoch and microsecond
well, the current epoch time is something like "1554664910", which will give you sever headache with Pd's number representation (which is single precision float): you will (in 2019) only get a time resolution of 128 seconds (not to speak about µsecs) so i don't think you actually want that value.
apart from that: you can use zexy's [date] and [time] objects to calculate your own timestamp (based on any epoch you like, or none), manually circumventing any representation problems you might encounter.
gfmdsa IOhannes