Link to home
Start Free TrialLog in
Avatar of Taras
TarasFlag for Canada

asked on

Crystal report convert number to date

I have several fields in crystal report 2011, two of them have values for Year and for month and they are number type field.
I need formula to convert this two number fields (Year and month) to date. That converted date should show year month and day. Day has to be the last date of the month.
How to do it?

Invoice_Year            Invoice_Month
2,015.00                   1.00
2,014.00                  2.00
2,014.00                  3.00
Avatar of arnold
arnold
Flag of United States of America image

Convert them to int, then you can convert/cast...... As text..

The day can be appended...  What formatting are you looking for yyyy-month-day?

Do you have a separate date field that can be used to handle the conversion and assembling the response field on the report?
ASKER CERTIFIED SOLUTION
Avatar of Mike McCracken
Mike McCracken

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Avatar of Taras

ASKER

thank you, Fast and excellent as always .