Skip to main content
cancel
Showing results for 
Search instead for 
Did you mean: 
Not applicable

How to capitalize(Month)

Hi,

I have a field with data like Jan 2011.

But, some values are in JAN 2011, some are Jan 2011.

How can i standardize all to says Jan 2011?

i tried the following, but i didn't work.

DATE#(capitalize(MONTH_YEAR), 'MMM YYYY') as MONTH_YEAR,

13 Replies
Not applicable
Author

getting errors

danielrozental
Master II
Master II

That doesn't give us much to work with and help you, post your script.

Not applicable
Author

Never mind, I got..Thank you so much for your help though

erichshiino
Partner - Master
Partner - Master

Going back to the syntax of your first post, maybe you just need to include the month names in a capitalized form in the beggining of the script:

SET MonthNames='JAN;FEB;MAR ...

Hope this helps,

Erich