Photo Gallery Member List Search Calendars FAQ Ticket List Log Out


Month from cDate

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

 

 
  
  Printable Version
All Forums >> [Scripting] >> WSH & Client Side VBScript >> Month from cDate
  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 >>
 Month from cDate - 5/3/2006 11:58:41 PM   
  blake.arnold


Posts: 31
Score: 0
Joined: 12/1/2005
Status: offline
The following code is what I have and it is not working correctly. I want to get the month out of the date, but I cant seem to.  Can anyone tell me what I am doing wrong?


      

_____________________________

"And what is a weed? A plant whose virtues have not yet been discovered."
 
 
Post #: 1
 
 RE: Month from cDate - 5/4/2006 12:26:04 AM   
  ehvbs

 

Posts: 2204
Score: 50
Joined: 6/22/2005
From: Germany
Status: offline
Hi blake.arnold,

I did test your code (after some cosmetic changes) and it worked perfectly! Therefore
I suspect that there is a problem either with the file (permissions?) or your diagnostic
procedure (no output if the file wasn't *created* in january).

(in reply to blake.arnold)
 
 
Post #: 2
 
 RE: Month from cDate - 5/4/2006 12:46:33 AM   
  blake.arnold


Posts: 31
Score: 0
Joined: 12/1/2005
Status: offline
I figured out what it was.  Thanks for the post ehvbs.

_____________________________

"And what is a weed? A plant whose virtues have not yet been discovered."

(in reply to ehvbs)
 
 
Post #: 3
 
 RE: Month from cDate - 5/4/2006 1:47:03 AM   
  ebgreen


Posts: 5069
Score: 31
Joined: 7/12/2005
Status: offline
You should post the solution to help anyone that searches the fora for a similar issue.

_____________________________

"... when you are good and crazy, oooh, oooh, oooh, the sky is the limit!" - The Tick
Goog places to start:http://www.visualbasicscript.com/m_24727/tm.htm
http://www.visualbasicscript.com/m_47117/tm.htm

(in reply to blake.arnold)
 
 
Post #: 4
 
 
 
  

If you found our site useful please link to us <a href="http://www.visualbasicscript.com">VisualBasicScript.com</a>.
All Forums >> [Scripting] >> WSH & Client Side VBScript >> Month from cDate 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