On 7/15/10 12:02 PM, Jeff Johnson wrote:
> Works great!  Thanks!
>
> self.Record["fieldname"].strftime("%m/%d/%Y")

If you instead use:

dabo.lib.dates.getStringFromDate(date_val)

Then your date will get formatted based on the setting of 
dabo.settings.dateFormat if 
set, or your system locale if not.

Probably better than hard-coding the date format in every report!

Paul

_______________________________________________
Post Messages to: [email protected]
Subscription Maintenance: http://leafe.com/mailman/listinfo/dabo-users
Searchable Archives: http://leafe.com/archives/search/dabo-users
This message: http://leafe.com/archives/byMID/[email protected]

Reply via email to