VBcoders Browse New Submit Contact Sign In

No account? Register free

Forgot password?

Calculate Age in ymd

Louis Boldt  (4 Submissions)   String Manipulation   Visual Basic 3.0   Beginner   Wed 3rd February 2021

I needed a routine to display the difference between two dates in year month day format. I found a couple here on pcs and another on a different site. Here is a project to call the three routines and display their results side by side. In case your wondering about Datediff it returns the number of times the year, month or whatever has changed between the two date. i.e. it returns 1 when from is dec 31 yyyy and to is jan 1 yyyy+1. Anyway here are three routines, two of them worked in all the test conditions I tried, the other gets a wild hair up it rear every once in a while. Louis Boldt 2/16/02

Rate Calculate Age in ymd (5(5 Vote))
Calculate Age in ymd.bas

Calculate Age in ymd Comments

No comments yet — be the first to post one!

Post a Comment

0/1000 characters