Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations strongm on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Date Issue in dll

Status
Not open for further replies.

akutty

IS-IT--Management
Jul 7, 2004
31
GB
Hi All,

Facing a strange problem, when we create a DLL its automatically converting a mm/dd/yyyy format to dd/mm/yyyy format... if we debug thru VB it doesnt do...
THE Reg setting in machine is USA settings

regards
Anil
 
Hi,

Dates, in the MS world, DATES are just NUMBERS, like today's DateSerial is 38422.

The FORMAT is just what you see displayed.

In VB, if you use the Format fuction, you get a TEXT STRING representation of a date which is NOT A DATE VALUE.

So I'm not sure what you have.

Skip,
[sub]
[glasses] [red]Be advised:[/red] The dyslexic, agnostic, insomniac, lays awake all night wondering...
"Is there really a DOG?" [tongue][/sub]
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top