R
|
RickG 9/18/2006 |
Stephan:
|
M
|
mmponline author 9/18/2006 |
Yes, Only mmyy must be displayed. In other fields only YY. |
R
|
RickG 9/18/2006 |
If Day is irrelevant for my client in any way, would it not be easier to use two small varchar fields, one containing the year values, the other the month values which you can restrict via your own pull-downs? It certainly would ease searching, reporting etc. and you can always concat the two fields when in view or print mode. |
![]() |
Alexey admin 9/19/2006 |
Stephan, function format_number($val)
$locale_info["LOCALE_SSHORTDATE"]="MMyyyy";
|
M
|
mrpeeble 10/15/2007 |
Stephan, the easiest way to do this is to change $locale_info["LOCALE_SSHORTDATE"] variable in locale.php file. Find this line in include\locale.php file: and insert this one just before: Do these changes in Template Editor to avoid modifying files after rebuild. Set View as type for your field to Short date.
|
![]() |
Alexey admin 10/17/2007 |
I recommend you to not to edit generated files. select ... DATE_FORMAT(DateField, '%b &Y') as Date1, ...
|