Home : General : Perl Programming :

General: Perl Programming: Re: [devinci99] Search and translate functions?: Edit Log

Here is the list of edits for this post
Re: [devinci99] Search and translate functions?
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); Unsure

Last edited by:

devinci99: Jun 1, 2003, 3:58 AM

Edit Log: