I have a date that I get from my now() function that returns:
2/10/2004 2:17:16 PM
I would like to be able to break this value up. Is there a function that
allows me to pull whatever I want out of this?
For example, if I just want the year 2004 pulled out (for a drop down
list I'm creating) what would the function be to do that?
And If I just want the day, 10 pulled out, then how would I do that?
part of the problem is that depending on the month, is the number of
digits one counts from the front. 10,11,12 add one digit to the front of
the string, making this difficult.
I'm creating a search between dates so someone can select the day, month
and year as beginning value, and the end value. So how would I go about
disecting this string?
Thanks,
Bill
*** Sent via Developersdex http://www.developersdex.com ***
Don't just participate in USENET...get rewarded for it!