Hi,
I writing an app that takes mails, parses them and put them in a db.
I am using PB 10.2 , MS sql server 2000 and connect using OLE DB.
Among others I have this piece of code
mailMessage msg
.
.
messagebox('date',msg.DateReceived)
.
dw_1.SetItem(ll_row, "date_registered", datetime(date(msg.DateReceived)))
.
.
When I run the app it stores 1900-01-01 00:00:00.000
although the messaebox above returns '2005/10/10 15:36'
(my regional codes are Greek dd/mm/yyyy.I changed it to yyyy/mm/dd but I have the same problem)
Any clues?
I writing an app that takes mails, parses them and put them in a db.
I am using PB 10.2 , MS sql server 2000 and connect using OLE DB.
Among others I have this piece of code
mailMessage msg
.
.
messagebox('date',msg.DateReceived)
.
dw_1.SetItem(ll_row, "date_registered", datetime(date(msg.DateReceived)))
.
.
When I run the app it stores 1900-01-01 00:00:00.000
although the messaebox above returns '2005/10/10 15:36'
(my regional codes are Greek dd/mm/yyyy.I changed it to yyyy/mm/dd but I have the same problem)
Any clues?