lightnb
03-24-2007, 07:49 AM
There's probly some simple function that does this, but I'm not sure what it's name is.
I have a variable called $date with a string in the format "dd/mm/yyyy".
I would like to make it into three strings/variables $day, $month, and $year.
something like:
split_function($day, $month, $year; / ; $date)
Can this be done? Or does it need to use three different string extract functions?
Thanks.
I have a variable called $date with a string in the format "dd/mm/yyyy".
I would like to make it into three strings/variables $day, $month, and $year.
something like:
split_function($day, $month, $year; / ; $date)
Can this be done? Or does it need to use three different string extract functions?
Thanks.