Re: vb6 question

Tech-Archive recommends: Fix windows errors by optimizing your registry



On 2 Apr, 18:38, dpb <n...@xxxxxxx> wrote:
Rick wrote:
Is there any way to make the following date functions:
Format
CDATE
DateAdd
DatePart
Month
Day
...etc...

system date independent?

...

In short, no, I don't believe there's any possibility to change the VB
runtime behavior to make it insensitive to system locale.  Your best bet
is to replace the intrinsics w/ your own library functions which are
"app-aware" of local locale.

--

Welll, Excel for example is used to this... why not do like excel?
seconds(?) since 1900-01-01 or something, we use 1980-01-01 for our
origin of time in a DB to get rid of that summertime problem, (got
otherones instead but...)

This will be something like this (from XL)

1900-01-01 1,00000000000
2001-01-01 36892,00000000000
2001-01-01 21:53 36892,91180555560

Then just figure out (again with the help of office or another
function that time)

Just my 2 cents.... //CY
.