|
|||
|
Hi...
I just began with swfKit, seems great. but.. I try to use ADO, which works perfectly fine, except the following thing I can't fix: In my mdb file, I have a date field (format 01/09/1944) when I take it from script, I get a real number: 7.33363e+011 using the following line: DateDeDiffusion=record.Fields(1).Value.toString(); I can't manage having a string format... ![]() any idea? thanks by advance, P. |
|
|||
|
I don't know if this is the shortest way.
But I recompose the date using the date methods Code:
DateDeDiffusion = record.Fields(1).Value.GetDate() + "/"
+record.Fields(1).Value.GetMonth() + "/"
+ record.Fields(1).Value.GetYear()
|
![]() |
Was this information helpful? Yes No
| Thread Tools | |
| Display Modes | |
|
|