Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations bkrike on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Date manipulation

Status
Not open for further replies.

Hayton

Technical User
Oct 17, 2001
257
NZ
Hi There,

I have a dte faormatted as follows:24/01/2005.

I need to extract the first cell the month and the second cell the year.

I have tried various options and can't get it right.

Any sugestions would be appreciated.

Hayton McGregor

 
Don't worry guys I have worked it out.



Hayton McGregor

 


Hi,
[tt]
=Year(YourDate)
=Month(YourDate)
=Day(YourDate)
[/tt]
I'd stay away from any kind of string manipulation.

Skip,

[glasses] [red]Be Advised![/red] The Vinyards of Texas have produced a wine with diuretic dimishment and urethric relief...
Pinot More![tongue]
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top