Is there a slick way of getting a regionalized version of the __DATE__
macro?

Note that "regionalized" isn't sufficient if you're displaying dates to the user. You want to convert to the format that the user has selected in the prefs panel.


I am thinking that I am going to have to parse the string and
convert it to DateType. Does anybody have any better ideas?

If you're using CodeWarrior, you could create a Rez (.r) file that uses $$Month, $$Day and $$Year to create numeric values in a resource that can then be used to fill in a DateType structure.


-- Ken
--
Ken Krugler
TransPac Software, Inc.
<http://www.transpac.com>
+1 530-470-9200

--
For information on using the Palm Developer Forums, or to unsubscribe, please see 
http://www.palmos.com/dev/support/forums/

Reply via email to