thx I got it to work...
[s7300:~/ecards_db] stu% ./splitdate.cgi
testing...
06/01/2003
06
01
2003
For variables like $mn and $day, how do I surpress the values to single digits if it's under the value of 10? Because for values under 10, it pads a "0" before it. like if it's 08, i am trying to convert it to just say 8.
o n/m stupid me... $mn = sprintf('%01d', $mn);
[s7300:~/ecards_db] stu% ./splitdate.cgi
testing...
06/01/2003
06
01
2003
For variables like $mn and $day, how do I surpress the values to single digits if it's under the value of 10? Because for values under 10, it pads a "0" before it. like if it's 08, i am trying to convert it to just say 8.
o n/m stupid me... $mn = sprintf('%01d', $mn);