On May 13, 2009, at 1:26 PM, johnf wrote:

> I have a dDateTextBox that holds birthdays.  My problem is the  
> program is
> saving the date incorrectly.  I set the date to '12/12/1970'  and I
> save  '12/12/2070' to database.  Which is one century wrong.


        I'm not seeing this at all. I did the following:

import datetime
tx = dabo.ui.dDateTextBox(self)
dt = datetime.date(1989, 5, 9)
tx.setDate(dt)
print tx.Value

-> 1989-05-09

        Anyone else get John's results with this script?


-- Ed Leafe



_______________________________________________
Post Messages to: Dabo-users@leafe.com
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/ea0cfb71-0166-4cd6-a3e3-b4747700c...@leafe.com

Reply via email to