| | | | Browse by category |
Article ID: 84
Last updated: 22 Jun, 2018
Problem
How can I change the date format printed in headers/footers?
Cause
Action
You can pass a parameter to the "$D" token. This parameter contains the same formatting options as for the C++ runtime function strftime(). Take a look at CGXIntlStrFTime in Objective Grid.
So, you could specify "$d{%m/%d/%y}" for MM/DD/Year
or "$d{%d/%m/%y}" for DD/MM/YEAR
or "$d{%y/%m/%d}" for YEAR/MM/DD
and so on.
Example:
GetParam( )->GetProperties( )->GetDataFooter( ).StoreStyleRowCol(1,1, "$d{%d/%m/%y}"); |
This article was:
Helpful |
Not helpful
Report an issue
Article ID: 84
Last updated: 22 Jun, 2018
Revision: 3
Views: 1674
Posted: 23 Jan, 2001 by
Meltreger B.
Updated: 22 Jun, 2018 by
Meltreger B.
Others in this category
Powered by KBPublisher (Knowledge base software)