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 Chris Miller on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

HELP TIME IS RUNNING OUT ON ME 1

Status
Not open for further replies.

StanKorn

Technical User
Mar 28, 2002
72
US
Hi everyone,
I need to convert a text field of date data YYYYMMDD format and am struggling with the formula (This machine doesn't have Help on it :-( ...)Can someone pleeeese help me out of this bind.
Many thnx,
Stan
 
Try:

date(picture({datefield},"xxxx/xx/xx"))

And let me know how you get on.....

Reebo
Scotland (Sunny with a Smile)
 
Oh, and change {datefield} with your real text field....

Reebo
Scotland (Sunny with a Smile)
 
First the date:

cdate(val(left("200011231",4)),val(mid("200011231",5,2)),val(mid("200011231",7,2)))

or you can use:

cdate(mid("200011231",5,2)+"/"+mid("200011231",7,2)+"/"+left("200011231",4))

As for the help, this is a common problem, and may simply require a registry change, I usually just do Step B in the following and it works:


-k
 
Thanx synapsevampire.
I'll check the link out when I get this report out :)
Stan
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top