I have a field that shows the last month's name, year on the same layout as my monthly calendar.
My calulcation is this:
Let( [ now = (CalFilterDateGlob ) ;
prev = Date ( Month(now) - 1 ; Day(now) ; Year(now) ) ] ;
MonthName ( prev ) & "," & " " & Year (now)
)
Now with the year change, this calculation is not working and i'm not sure how to get it to work with the year changing as you flip through the calendar.
Last Month Name Setting
2 posts
• Page 1 of 1
Posts: 18
Joined: Thu Apr 09, 2009 8:32 am Location: Missouri |
Robin
|
Posts: 2764
Joined: Thu Nov 20, 2003 11:01 am |
Replace you last instance of "now" with "prev" like this:
Let( [ now = (Get(Currentdate) ) ; prev = Date ( Month(now) - 1 ; Day(now) ; Year(now) ) ] ; MonthName ( prev ) & "," & " " & Year (prev) ) John Sindelar
SeedCode |
2 posts
• Page 1 of 1
Who is online
Users browsing this forum: Google [Bot] and 3 guests