# Dates and Math

## Snippets

A Basic Pythagoras Implementation in VB6A Function That Computes the Eigenvalues and Eigenvectors For a Real Symmetric Matrix

A Simple Digital Clock

A Very Simple Calculator

Angle to XY

Bitwise Left Shift and Right Shift for VB

Calcualte Relative Date from Today (Leap Year Aware)

Calculate a person's age

Calculate a Person's Age Using DateSerial Function

Calculate a Person's Exact Age

Calculate an Interpolated Value.

Calculate Elapsed Time Given Start & End Dates/Times

Calculate Mod 10 Check Digit

Calculate n Prime Numbers

Calculate One-Sample T Statistics

Calculate the standard deviation of elements in an array

Calculator With Extra Functions

Calendar: 1 Month with Highlighting in Excel

CDateHour - Convert From DateTime, Rounding Down To The Nearest Hour

Check Digit MOD 10 w/ weights 7-5-3-2

Check If a Date/time Value is During Daylight Savings or Standard Time

Compare dates to Determine which one is Later

Compare two Time Values to Determine Which is Earlier

Compute CRC Checksum

Compute Geodesic Distance between Earth surface Coordinates

Convert a numeric value to binary

Convert Seconds to Minutes (or Minutes to Hours) in 0:00 format

Convert a Date to a Julian Date (one-line function)

Convert a Decimal Number to Any Base (Bin, Oct, Hex)

Convert a Decimal Number to Binary

Convert a Decimal to a Fraction

Convert a Hexadecimal Number to a Base 10 Value

Convert a Long Integer to a Byte Array

Convert any Date Value to Julian Date Value

convert base 10 to any other base

Convert Byte Array to Corresponding Numeric Value

Convert Bytes to Megabytes

Convert Bytes to the Appropriate Format (Bytes, KB, MB, GB)

Convert French Francs to Euro

Convert Long Integer to Binary Value

Convert Number To Time

Convert Seconds Into Minutes in Decimal Format

Convert seconds or a date range to hours, minutes, seconds (hh:mm:ss

Convert Seconds to a String as D:H:M:S

Convert Seconds to Days, Hours, Minutes, Seconds

Convert Seconds to Hours, Minutes Seconds as h:mm:ss

Convert seconds to Hours, Minutes, and Seconds

Convert Values Between Different Bases

Convert your system date to MM/dd/yyyy for Y2K

Converts a Long numeral to an 8 character Hex value