Ah yes the old modulus operator!  :  )  should of thought of that 
myself... but I am glad this list exists!

thanks a bunch!

Derek B. Smith
OhioHealth IT
UNIX / TSM / EDM Teams






Bob Showalter <[EMAIL PROTECTED]>
08/16/2004 12:44 PM

 
        To:     "'[EMAIL PROTECTED]'" <[EMAIL PROTECTED]>, [EMAIL PROTECTED]
        cc: 
        Subject:        RE: date format


Bob Showalter wrote:
>    ($year + 1900) % 100

Actually just

   $year % 100

is valid. The former makes it clearer what you're doing, if you're into 
that
:~)


Reply via email to