Dates and Math

Snippets Page 2

Converts a square root to simplest radical form
Credit Card Number Validator
Date/Time Generator For Report Testing
Day of Week Function
Decimal Rounding Function
Determinant NxN matrix
Determine How Many Days are Left in the Year
Determine if a Given Date Falls on a Weekend
Determine if a Given Date is Earlier than Another Date
Determine if a Given Date is Later than Another Date
Determine if a Given Year is a Leap Year
Determine if a Given Year is a Leap Year 2
Determine if a Given Year is a Leap Year Using the DateSerial Function
Determine if a Number is Even or Odd
Determine if A Number is Even or Odd the Fastest Way
Determine if a String is a Valid Time
Determine if a Value is a Valid Time
Determine if an Integer is a Prime Number
Determine if an Integer is a Prime Number (Alternate Method)
Determine if an Integer is a Prime Number (Fast, Efficient algorithm)
Determine If The Current Time Falls Within a Range
Determine Number of days in any month given a date
Determine Number of days in any month given a date -- alternative method
Determine Week Number from Date
Determine Week Number From Date 2
Dice Rolling Procedure
Draw Random Triangles
Easy Random Number Generator
Enhancement of VBs Val function
Expression Evaluater - No parsing code required!
Factorial
Factorial Function for N between 171 and 681
Fast Prime Number Generator
Find The Greatest Common Divisor of Two Integers Using Euclid's Algorithm
Find the Last Working Day Of Next Month
Find Which Block of 50 a Number Lies in; e.g. 100-150
Finding Daylight Savings Beginning and End
Finds the simplified nth root of a number
Format Date To HH:MM AMPM Format in ASP
Function to Determine If a Given Year is a Leapyear.
Function to Make Now dates Sortable in Listviews, etc.
Function to Test a Date for BST (British Summer Time)
Generate a Random Number Between Two Specified Values
Get Number of Days in a Month Using the DateSerial Function
Given a date, find the date of the previous Sunday.
HiWord/LoWord Extraction and Combination for Long Integers
How To Convert Numbers Into Time Notation
Improved Random Number Generator
Input a 4 digit year, determine if year is a leap year.
Is Date Daylight Savings Time

Previous | 1 | 2 | 3 | Next