|
-
May 20th, 2000, 02:50 PM
#1
Thread Starter
New Member
I'm a VB beginner.
In an exercise we wrote a little program that returns the difference of a given date to the date the program is run (e.g. "still 28 days left")
We're on a German Workstation and used the German date format, so the line was like this:
(You have to press a button called lblAbschied.)
lbl.Abschied.caption = "still " & DateDiff("d", Now, "16.06.2000") & " days left"
As you see, in the DateDiff the format for the end date is the German date format dd.mm.yyyy
When I run this on an English system it returns an error (runs fine on a German system)
My question is:
Is there either
a common date format (like dd/mm/yy) that would work in any language setting
or
a possibility to set the date format for a program
so it'll work on any language.
Thank you for any help!
Jens ;-)
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|