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

有帮助吗?

解决方案

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"
许可以下: CC-BY-SA归因
不隶属于 StackOverflow
scroll top