Forum Discussion
- RobIVQrew CadetThe simplest formula would just be
Month([userSelectedDate])
This would return a number for the month and you could make your decisions based on that number.
If you must have the text name of the month, useCase(Month ([userSelectedDate]), 1,"January",2,"February",3,"March",4,"April",5,"May",6,"June",7,"July",8,"August",9,"September",10,"October",11,"November",12,"December"))
Hope this helps,
~Rob - QuickBaseCoachDQrew CaptainI'm not understanding why you don't just make a table report that Groups by month, but here is a formula for a formula text field type which will convert a date to YYYYMM format.
(not tested)
ToText(Year([my date field]))
&
Right("0" & ToText(Month([My Date field])),2) - PaulVorster1Qrew CadetH there, I am currently using the formula for my month field, which combines the date and month. Just another alternative to the two solutions above.
var date DateWords = [Project CAC Date];var text Month = Case(Month($DateWords),
1, "10 January",
2, "11 February",
3, "12 March",
4, "1 April",
5, "2 May",
6, "3 June",
7, "4 July",
8,"5 August",
9,"6 September",
10,"7 October",
11,"8 November",
12,"9 December");
$Month