Contents
Articles
Behaviors
Books
Director News
Director Web Sites
FAQ
Games
Mailing Lists
News Groups
Project Examples
Reviews
Software
Tools
Useful Web Sites
Utilities
Xtras

Don't miss these
Export Global Variables
Accept Only Alpha-Numeric Characters
Atom
MUI-GUI
bambino
Scroll Thumb Track
MPEG Advance
Random numbers from file names -w/o BuddyAPI
Opening and closing a CD-door behaviour
Reshacker
 

 

 

Behavior Determine if a Year is a Leap Year

Added on 2/7/2006

 

Compatibilities:
D8 D8_5 D9 Mac PC

This item has not yet been rated

Author: Chunick (website)

this custom handler will return true or false if the year specified is a leap year or not.

on isLeapYear(year)
  if (date(year, 12, 31) - date(year, 1, 0)) = 366 then return true
  return false
end

 


Contact

MMI
36 South Court Sq
Suite 300
Newnan, GA 30263
USA

Send e-mail