I'm new to MySQL & Crystal, and am trying to display a date in a CR that is defined as bigint(20) in MySQL, but it just comes out as numerics (of course!).
So the question is what do I need to do to get CR to see this as a date field?
Hi,
You will need to create a formula the decodes whatever MySql does to store a date in a BigInt data type..Probably involves the # of days since some base date..
To Paraphrase:"The Help you get is proportional to the Help you give.."
Since we're in an environment that is locked down and doesn't allow any non-approved software, I came up with the following formula:
DateTime(1970,1,1,0,0,0) + ({#_of_seconds}/86400)
It converts the #_of_seconds to days and a time fraction.
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.