468,272 Members | 2,020 Online
Bytes | Developer Community
New Post

Home Posts Topics Members FAQ

Post your question to a community of 468,272 developers. It's quick & easy.

Getting date in parted strings

134 100+
i know that you can get the date in a string like 07/06/2007 etc, but is there a way to get the month (07) in one string and the day (06) in another and the year(2007) in another? [if not *string*, *int* would be perfectly fine- or even having it say 'august' or whatever is fine
thanks in advance
Sep 3 '07 #1
2 1065
Ganon11
3,652 Expert 2GB
Yes. Once you have the date in the form mm/dd/yyyy (e.g. 07/06/2004), you can use some simple string operations to separate the mm from the dd, and so forth. You just have to look up these string functions.
Sep 3 '07 #2
lumpybanana247
134 100+
Yes. Once you have the date in the form mm/dd/yyyy (e.g. 07/06/2004), you can use some simple string operations to separate the mm from the dd, and so forth. You just have to look up these string functions.
oh yeah- i didnt even think of that
thank you very much ganon
Sep 3 '07 #3

Post your reply

Sign in to post your reply or Sign up for a free account.

Similar topics

15 posts views Thread by Simon Brooke | last post: by
9 posts views Thread by deko | last post: by
43 posts views Thread by chookeater | last post: by
20 posts views Thread by andreas | last post: by
10 posts views Thread by crazycooter | last post: by
reply views Thread by NPC403 | last post: by
reply views Thread by zattat | last post: by
By using this site, you agree to our Privacy Policy and Terms of Use.