vvopensource
vvopensource copied to clipboard
OSCBundle:TimeTag should be seconds since midnight Jan 1, 1900
As per http://opensoundcontrol.org/node/3/#timetags the TimeTag should be seconds since midnight on January 1, 1900, but OSCBundle is incorrectly sending seconds since Jan 1, 2001.
Quick fix: NSDate* timestamp = [NSDate date]; NSDate *timeStampAdjusted = [timestamp dateByAddingTimeInterval:3187296000];//Add seconds between 1900 and 2001 [bundle setTimeTag:timeStampAdjusted];
howdy-
sorry for the delay, i didn't notice the email notification for your issue.
"but OSCBundle is incorrectly sending seconds since Jan 1, 2001."
you are, of course, absolutely correct- thanks very much for letting me know about this!
cheers : : ray