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

Convert Numeric Field to Date

Status
Not open for further replies.

socalvelo

Technical User
Jan 29, 2006
128
US
CR XI

I have a date field that has numeric formatting (something a dba did in another dept).

The dates look like this: 20100922

Can someone give me a formula to properly turn this into a date field in CR until I get the dba to change it. Thank you.
 
I would use
date(val(mid({yourfield},1,4)),
val(mid({yourfield},5,2)),
val(mid({yourfield},7,2)))
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top