The best method to save dates to a Valentina DB so that regional settings don't bother them?

Ruslan Zasukhin sunshine at public.kherson.ua
Wed Nov 26 10:28:29 CST 2003


on 11/26/03 5:34 AM, Deane Venske at deane.venske at eduss.com wrote:

> Hi guys,
> 
> WHat's the best way to save dates to Valentina? Would it be to make a
> method that returns the current dateTime? Are there any examples out
> there? I want to make sure I get this right, because I've always had
> problems in the past no matter what DB/Programming language combination I
> use.

Hi Deane,

If you have only date, then use Vdate field type. 4 bytes
If you want both date and time in one field, then use VDateTime.

Just pay attention you set correct db.DateTimeformat,
And set/get dates from Valentina with the same format.

All must be easy.


-- 
Best regards,
Ruslan Zasukhin      [ I feel the need...the need for speed ]
-------------------------------------------------------------
e-mail: ruslan at paradigmasoft.com
web: http://www.paradigmasoft.com

To subscribe to the Valentina mail list go to:
http://lists.macserve.net/mailman/listinfo/valentina
-------------------------------------------------------------



More information about the Valentina mailing list