On Thursday 15 July 2010 02:29:16 pm Paul McNett wrote:
> On 7/15/10 2:19 PM, John wrote:
> > On Thursday 15 July 2010 12:38:04 pm Paul McNett wrote:
> >> 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
> >
> > Will the dabo lib be available from the report? I don't think so. See
> > yesterdays discussion.
>
> The one where I told you how to import whatever you want into a report
> variable?
>
> Paul
Yes - received an error when attempting to use the same dabo method. Of
course on reflection I wonder
if "self.dabo.lib.dates.getStringFromDate(date_val)" would work?
Johnf
_______________________________________________
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]