borderAndreaVB free resources for Visual Basic developersborder

borderAndreaVB Visual Basic and VB.NET source code resources - Copyright © 1999-2007 Andrea Tincaniborder

AndreaVB | Forum | News | Downloads | Register | Help | Member List | Statistics | Search | PM | Profile

Print This Topic
Previous Topic (Creating a service)Next Topic (Inserting a Excel Object) New Topic New Poll Post Reply
AndreaVB Forum : VB General : Date problem
Poster Message
Anitha_232
Level: Scholar

Registered: 03-03-2004
Posts: 47

icon Date problem

ok evrybody ..here i come to pester u again
plz help on this asap.
my application is supposed to run on diff systems ..(mayb u can call it client-server. there is a central database and clients access it from the diff PCs)
it is a library system. so i hav need to save some dates for my transactions.
what i want is.... the date shud come in a single format (either mm-dd-yy or dd-mm-yy) and not switch depending on the client pc date-format.
what is teh function  i shud use for this?
i hope i dont hav to use api-s or anythg
thank you once again for the kind help


05-04-2004 at 02:35 PM
View Profile Send Email to User Show All Posts | Quote Reply
Goran
Level: Moderator

Registered: 16-05-2002
Posts: 1681
icon Re: Date problem

use Format function

Format(YourDate,"dd.MM.yy")
Format(YourDate,"MM.dd.yy")


____________________________
If you find the answer helpful, please mark this topic as solved.

05-04-2004 at 03:43 PM
View Profile Send Email to User Show All Posts | Quote Reply
AndreaVB Forum : VB General : Date problem
Previous Topic (Creating a service)Next Topic (Inserting a Excel Object) New Topic New Poll Post Reply
Surf To:


Not Logged In? Username: Password: Lost your password?
Partners: Download Actual Software | Free Software Download
borderAndreaVB free resources for Visual Basic developersborder

borderAndreaVB Visual Basic and VB.NET source code resources - Copyright © 1999-2007 Andrea Tincaniborder