C Program To Check Leap Year Snippets

This program checks whether an year (integer) entered by the user is a leap year or not.

Python functions are naturally polymorphic on their arguments, and checking argument types loses polymorphism

Demonstrates to select all the Birthdays that will occur as of today, 15 days

Select all the Birthdays that will occur as of today, 15 days

18 February, 2013   

Brute-force calculation of any date. Includes some very tricky rules for modern-day Gregorian calendar.

07 February, 2011   

Automatic Copyright Year

16 November, 2013   

This function lets you check whether an date event should recur on a specified date. This is handy for calendar, billing and reminder applications.

23 January, 2013   

Returns the number of the quarter containing a given date.

03 April, 2018   

Returns the last day of the month containing the given date.

21 July, 2012   

VB.NET Code for Julian Day of The Year

A Pascal version of mattloto's C++ program. just to prove that pascal is cool.

27 January, 2014   

Extracts the month from a specified date.

This little function comes in handy. There's nothing worse than seeing a site with a copyright out of date.

07 September, 2014   

The "WITH CHECK OPTION" is used to indicate that Oracle will prevent any changes to the table or view that would produce rows that are not included in the subquery. When used in the subquery of a DML statement, you can specify this clause in a subquery in the FROM clause but not in subquery in the WHERE clause.

20 August, 2014   

Javascript function to check or uncheck all the checkboxes in a form.

06 May, 2013   

Code example for Month Day Year Dropdown

JavaScript code to get time intervals between two Dates

07 February, 2011   

Check if Number is Even/Odd

02 June, 2011   

This will check an email, to see if it is in a valid format.

14 February, 2011   

Build a Calendar Table