Miguel Lopes wrote:
> I'm trying to have dates represented as YYYY/MM/DD, DD/MM/YYYY or DD/MM/YY.
> Any of these would be ok as people on this side of the pond expect the
> month to be the middle value.
> 
> The db field is of date type. I've tried to use both dTextBox and
> dDateTextBox without success. The date is represented in the format
> MM/DD/YY.
> 
> I've dabbled a bit but it dosen't seem to be an obvious solution for this.
> Is there a way to accomplish this?

import dabo
dabo.settings.dateFormat = "%Y/%m/%d"

However, it should be defaulting to the user's localization settings for short 
date 
format (operating on the principle that the user should be in ultimate control 
over 
the formatting of things). If it isn't, please let us know!

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