forum.getinpulse.com
http://www.getinpulse.com/hack/forum/

struct pulse_time_tm documentation
http://www.getinpulse.com/hack/forum/viewtopic.php?f=6&t=236
Page 1 of 1

Author:  ajwitte [ Sun Apr 17, 2011 10:15 pm ]
Post subject:  struct pulse_time_tm documentation

While working on the world clock app I noticed a few places where the population of struct pulse_time_tm doesn't seem to match what's described in the pulse_types.h comments:

  • tm_year is (year - 1900), not the full year
  • tm_wday counts from 1, not 0
  • tm_yday also counts from 1

Page 1 of 1 All times are UTC - 8 hours
Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group
http://www.phpbb.com/