Convert Integer to date in Crystal Report

There is no function available to convert integer date into proper date format. The closest that I came across use a crystal field which take integer date and converts it only proper date format.

Local StringVar y;
y := CSTR({?end_date}, 0, '');
MID(y,1,4) + '-' + MID(y,5,2) + '-' + MID(y,7,2)

This topic talks about how to Convert Integer to Date format in Crystal Report. For
how to format date in crystal Report, click on the highlight link

Advertisements
This entry was posted in Tutorials/Tips. Bookmark the permalink.

1 Response to Convert Integer to date in Crystal Report

  1. Pingback: Format date in Crystal Report « « Developer's Blog Developer's Blog

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out /  Change )

Google photo

You are commenting using your Google account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )

Connecting to %s