[Date Prev][Date Next][Thread Prev][Thread Next]
[Author Index] [Date Index] [Thread Index]
[SQR-USERS Info] [SQRUG Home Page]

Re: Leap Year



Just do a mod (year,4) If the returned value is 0 then the year is leaping.
I dont know if there is a mod function in SQR but write your own or use your
rdbms's mod function.

Andy

-----Original Message-----
From: Tajinder Chahal [mailto:Tchaha@ROUSHIND.COM]
Sent: 18 April 2001 16:53
To: SQR-USERS@list.iex.net
Subject: Leap Year


Does anyone know if there is a function in SQR which can determine if the
year is a leap year or not?

Thanks in Advance
Tajinder