Ramzess II
Registered User.
- Local time
- Today, 02:55
- Joined
- Apr 7, 2004
- Messages
- 32
Hello there!
I got such problem - in Latvia where I live we have 7 cases for nouns.
What I need is to output a date in such format: dddd", "d". "mmmm
but... the result shown on the screen is "for example "tresdiena, 12. maijs"; instead of this I need "tresdien, 12. maija". So in another words, I neet names of 7 days of the week and 12 months to be displayed in a different case from the one which is used in the default long date format.
In the table this date is stored as simple short date as it must be, since this custom long form is needed only on printouts.
I believe that I need to write a code with lots of If.. ..Then and Else,
but I am not sure how to do it. Maybe there is even a better way to reduce code using something else than If Then and Else.
I appreciate any help and thank you in advance.
I got such problem - in Latvia where I live we have 7 cases for nouns.
What I need is to output a date in such format: dddd", "d". "mmmm
but... the result shown on the screen is "for example "tresdiena, 12. maijs"; instead of this I need "tresdien, 12. maija". So in another words, I neet names of 7 days of the week and 12 months to be displayed in a different case from the one which is used in the default long date format.
In the table this date is stored as simple short date as it must be, since this custom long form is needed only on printouts.
I believe that I need to write a code with lots of If.. ..Then and Else,
but I am not sure how to do it. Maybe there is even a better way to reduce code using something else than If Then and Else.
I appreciate any help and thank you in advance.