Photo Gallery Member List Search Calendars FAQ Ticket List Log Out


Format method in VB

 
Logged in as: Guest
arrSession:exec spGetSession 2,7,43314
 Active Users: There are 0 members and 0 guests.
 Users viewing this topic: none
 

 

 
  
  Printable Version
All Forums >> [General Forum] >> Other Programming/Scripting Languages >> Format method in VB
  Do you like VisualBasicScript.com? Link to us and help spread the word about our forum. Thanks!
Page: [1]
Login
Message << Older Topic   Newer Topic >>
 Format method in VB - 2/18/2007 5:06:50 AM   
  POD64

 

Posts: 23
Score: 0
Joined: 10/25/2005
Status: offline
Hi all,
I'm trying to format a date in "dd/m/yy", which works really fine in a string variable, but i want it to remain in a Date type (not string).
The purpose is to use Find method to find a cell formatted as date.

      
At this state "y" returns a date formatted as my system is configured, but when i change "y" to be a string i get it as "dd/m/yy" without a problem.

Why is that?

Thanks in advance.
 
 
Post #: 1
 
 
 
  

If you found our site useful please link to us <a href="http://www.visualbasicscript.com">VisualBasicScript.com</a>.
All Forums >> [General Forum] >> Other Programming/Scripting Languages >> Format method in VB Page: [1]
Jump to:





New Messages No New Messages
Hot Topic w/ New Messages Hot Topic w/o New Messages
Locked w/ New Messages Locked w/o New Messages
 Post New Thread
 Reply to Message
 Post New Poll
 Submit Vote
 Delete My Own Post
 Delete My Own Thread
 Rate Posts