Main Menu

HOME

.Net
ASP
Assembly
C
C++
Delphi
HTML
Java
JavaScript
MySQL
PC interface
Powershell
Perl
PHP
VBScript
Visual Basic
XML

US Job listings




   Misc

   Amazon

   Links

    


calculate someones age
 

 

 

Description

calculate someones age

Author

Anon

Code

Function CalcAge(datEmpDateOfBirth As Variant) As Integer
CalcAge = Int(DateDiff("y", CDate(datEmpDateOfBirth), Date) / 365.25)
End Function

Information

tested using VB6

 

 

 

 

Download

calcage.txt


 




   Sponsors
 

   Software
500 Java Tips E-book
PHP editor
PERL editor
Beginning Java
Beginning Visual Basic
Learn VB.net
Learn VB 6
VB and databases
ASP image library
C++ builder programming
C++ fundamentals

   Source Code
For loop(Javascript)
decimal number to a radian, or a radian to decimal(VB)
Read part of a file(ASP)
display services in a console window(VB.net)
Beep the speaker(C)
download a web page to a file(PHP)
Button example(ASP.net)
increase / decrease number with a button press(Javascript)

    




Copyright © 2003 by programmershelp.co.uk