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

Year to date of epoch time 1

Status
Not open for further replies.

er123

IS-IT--Management
Aug 21, 2009
9
US
I am doing a report where I would like to select records year to date. My difficulty is that the date field is in epoch time from 1/1/1990. What would be the formula for this record selection? I know I could use yeartodate and dateadd but am having trouble pinning it down. Thank you.
 
date(DateAdd("s",{EpochFieldFromTable},#01/01/1970# ))<currentdate

_____________________________________
Crystal Reports XI Developer Version
Intersystems Cache 5.X ODBC connection

 
date(DateAdd("s",{EpochFieldFromTable},#01/01/1970# )) in YearToDate

_____________________________________
Crystal Reports XI Developer Version
Intersystems Cache 5.X ODBC connection

 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top