-
Can I create function for calculate age ?
Can I create function for calculate age ?
example
Mr x. was born on 27/JAN/1976
now he is 24 years 3 months and 28 days
Thank you
Matty
-
Re: Can I create function for calculate age ?
Is this your high school assignment?
Matty <yutthasak@bangkokair.co.th> wrote in message
news:390935f4$1@news.devx.com...
>
> Can I create function for calculate age ?
> example
> Mr x. was born on 27/JAN/1976
> now he is 24 years 3 months and 28 days
>
> Thank you
> Matty
-
Re: Can I create function for calculate age ?
Short answer:- Yes, you can.
"Matty" <yutthasak@bangkokair.co.th> wrote in message
news:390935f4$1@news.devx.com...
>
> Can I create function for calculate age ?
> example
> Mr x. was born on 27/JAN/1976
> now he is 24 years 3 months and 28 days
>
> Thank you
> Matty
-
Re: Can I create function for calculate age ?
More precisely: Yes, WE can. Obviously, he can't.
"Michael Cole" <mc@mercsys.com.au> wrote:
>Short answer:- Yes, you can.
>
>"Matty" <yutthasak@bangkokair.co.th> wrote in message
>news:390935f4$1@news.devx.com...
>>
>> Can I create function for calculate age ?
>> example
>> Mr x. was born on 27/JAN/1976
>> now he is 24 years 3 months and 28 days
>>
>> Thank you
>> Matty
>
>
-
Re: Can I create function for calculate age ?
"Gary Choma" <gchoma@invtitle.com> wrote:
>
>More precisely: Yes, WE can. Obviously, he can't.
>
>"Michael Cole" <mc@mercsys.com.au> wrote:
>>Short answer:- Yes, you can.
>>
>>"Matty" <yutthasak@bangkokair.co.th> wrote in message
>>news:390935f4$1@news.devx.com...
>>>
>>> Can I create function for calculate age ?
>>> example
>>> Mr x. was born on 27/JAN/1976
>>> now he is 24 years 3 months and 28 days
>>>
>>> Thank you
>>> Matty
>>
>>
>
Jeez guys, give the guy a break. He's obviously here looking for some help,
not to get flamed.
Matty,
Take a look at the DateDiff and DateSerial functions.
Hope this helps,
-Russ.
-
Re: Can I create function for calculate age ?
Even better, check out the first entry in the Date/Time section of Dev
Ashish's "The Access Web" http://www.mvps.org/access/
--
Doug Steele, Microsoft Access MVP
Beer, Wine and Database Programming. What could be better?
Visit "Doug Steele's Beer and Programming Emporium"
http://I.Am/DougSteele/
Russ <russell.thompson@adlink.com> wrote in message
news:3909ae59$1@news.devx.com...
>
> "Gary Choma" <gchoma@invtitle.com> wrote:
> >
> >More precisely: Yes, WE can. Obviously, he can't.
> >
> >"Michael Cole" <mc@mercsys.com.au> wrote:
> >>Short answer:- Yes, you can.
> >>
> >>"Matty" <yutthasak@bangkokair.co.th> wrote in message
> >>news:390935f4$1@news.devx.com...
> >>>
> >>> Can I create function for calculate age ?
> >>> example
> >>> Mr x. was born on 27/JAN/1976
> >>> now he is 24 years 3 months and 28 days
> >>>
> >>> Thank you
> >>> Matty
> >>
> >>
> >
>
> Jeez guys, give the guy a break. He's obviously here looking for some
help,
> not to get flamed.
>
> Matty,
> Take a look at the DateDiff and DateSerial functions.
>
> Hope this helps,
> -Russ.
>
>
>
>
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
Forum Rules
|
Top DevX Stories
Easy Web Services with SQL Server 2005 HTTP Endpoints
JavaOne 2005: Java Platform Roadmap Focuses on Ease of Development, Sun Focuses on the "Free" in F.O.S.S.
Wed Yourself to UML with the Power of Associations
Microsoft to Add AJAX Capabilities to ASP.NET
IBM's Cloudscape Versus MySQL
|
Bookmarks