Apr 23, 2000, 5:17 PM
Post #3 of 4
Re: basic number parsing question
[In reply to]
You could use the substr() function, or a pattern match, among many other
ways. If you really want the current date, perhaps you should be using localtime().
example of substr:
use $s= substr($date, -2, 2) it will return the last two characters in $s.