Display formats? So, I have a few oddities b...

Display formats?

So, I have a few oddities but donโ€™t really know and canโ€™t find a solution for these.

Year(Today()) returns 2,018 โ€ฆ

rather than 2018 Month(Today()) returns 1 โ€ฆ and I canโ€™t find any way to make it January.

Is there some Format(string, format) style function that I can use that I seem to be missing?

0 5 323
5 REPLIES 5

Are these separate columns? Your Year one is probably a number type, so if you make ShowThousandsSeparator = false in the definitions, that should fix it. For the Month, maybe try making it a Date or DateTime type, but Iโ€™m not sure that will help. Otherwise, you can convert it if you have to with IF functions. There is probably a simpler answer that someone can offer.

@Chris_Hutton For the Months display here is my work aroundโ€ฆ https://plus.google.com/+DavidHopkins4355398/posts/5d2JoeDhBpw

Im going to look for the ShowthousandsSeparator setting nowโ€ฆ Thanks for the response.

@David_Hopkins for the Yearโ€ฆ here is the line that Iโ€™m using in the template:

Payments by Student in <<Year(Today())-1>>

and it displays as:

Payments by Student in 2,017

Iโ€™m not sure where Iโ€™d set ShowThousandsSeparator for that, since itโ€™s a system function, and not actually from a field.

@David_Hopkins

For year try:

CONCATENATE(Year(Today()))

You will need to translate the month number into a month name. Try:

SWITCH(MONTH(TODAY()), 1, โ€œJanโ€, 2, โ€œFebโ€, 3, โ€œMarโ€, 4, โ€œAprโ€, 5, โ€œMayโ€, 6, โ€œJunโ€, 7, โ€œJulโ€, 8, โ€œAugโ€, 9, โ€œSeptโ€, 10, โ€œOctโ€, 11, โ€œNovโ€, โ€œDecโ€)

@Philip_Garrett_Appsh On Point again Philip!

Thank Youโ€ฆ

the concat did the trickโ€ฆ and I like the switch function tooโ€ฆ iโ€™ll be using that a lot.

Top Labels in this Space