# Dates and Math

## Snippets Page 3

Maths behind Bezier CurveModulus 10 check digit calculation function

Output Prime Numbers and Prime Factors

Pause your Application Using the DateDiff function

Pounds to Kilograms Conversion and Vice Versa

Properly Validate Credit Card Numbers

Psuedo-Random 8-Digit Prime Number Generator

Pythagoras in VB6

Quadratic Equation Solver

Quadratic Equation Solving Function

Random Shuffle Array Function

Retrieve all Permutations for a Given Number

Retrieve The Week Number For a Given Date

Return a Date X Number of Days Before or After a Given Date

Return a Date X Number of Weeks Before or After a Given Date

Return a Triangle's Angle Given the Length of the Sides

Return Maximum Combinations of a Number Range

Return the Current Time Exact to the Millisecond

Return the Decimal Portion of a Number

Return the last day (as date) of any month given a date

Return the Monday Date for a Given Week

Return the Month Ending Date

Return the Moon Phase for a Given Date

Return the Number of Business Days between Any Two Dates

Return the Statistical Median of a Set of Numbers

Returns Daylight Saving Change Date (Last Sunday in October)

Round a Number to Any Precision

Round a Number to the Nearest Fraction (16th, 32nd, etc.)

Round Up or Down to the Nearest Specified Value

Seemlessly convert between Hex, Dec and Binary formats

Show current date & system time with milliseconds

Solve Pythagorum Theorum Equations

Solve Quadratic Equations

Solve Quadratic Equations in One Variable

Solve Simultaneous Equations of Three Variables

Temperature Converter That Includes Kelvins

Unsigned Arithmetic in Visual Basic

Use Math And Coordinates To Draw And Move An Accordion