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!

Changing Date Language

Status
Not open for further replies.

lgreen

Technical User
Jan 30, 2004
1
US
The dates in my db are written like this: 898368300. How do I change that to mm/dd/yyyy?
 
Some dates are stored as seconds since 1970 (Epoch date), which may be the case here.

Depending upon your version of Crystal, you can have the database return a converted date, or you can convert it in Crystal using a formula such as:

dateadd("s",{table.field},#1/1/1970#)

If you find that this isn't the case, it's likely still a seconds since some date, but you'll have to learn what the baseline is.

-k
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top