Re: Format conversion from number to YYYYMM
- From: lyle fairfield <lylefair@xxxxxxxx>
- Date: Mon, 18 Feb 2008 15:06:04 GMT
piotr.kabath@xxxxxxxxx wrote in news:57afa132-6a92-4211-b227-4edd8079961a@
34g2000hsz.googlegroups.com:
Hi I have date stored as number in yyyymm format, as I need to
calculate previous month\ prev 3 months etc, I need to convert this to
date format yyyymm.
I have tried but with no success, I would be thankful for help.
Debug.Print CDate(Format(200802, "####-##"))
2008-02-01
--
lyle fairfield
In ancient times Ulysses had to outwit the sirens, who had the power to
charm by their song all sailors who heard them, so that the mariners were
compelled to cast themselves into the sea to their destruction.
Today, he would have to deal with (free) Aim-Mail.
.
- References:
- Format conversion from number to YYYYMM
- From: piotr . kabath
- Format conversion from number to YYYYMM
- Prev by Date: Re: a problem
- Next by Date: Re: Calculation of time
- Previous by thread: Re: Format conversion from number to YYYYMM
- Next by thread: Calculation of time
- Index(es):
Relevant Pages
|