Domanda

I have Column which has the label "JUL-CurrentMonth Fiscal Year To-Date"

How can i write the expression in which Current month should be populated Dynamically in the label?

I was trying this

"July-" &month(today) " Fiscal Year To-Date"

but it is not working

thanks in advance

È stato utile?

Soluzione

To get todays date you need to use Now() function.

To get Month use Month function.

"July-" & month(NOW()) & " Fiscal Year To-Date"

To get name of the month use MonthName function.

"July-" & MonthName(NOW()) & " Fiscal Year To-Date"
Autorizzato sotto: CC-BY-SA insieme a attribuzione
Non affiliato a StackOverflow
scroll top