I'd like a field to look at a specific date entered, and then return the year/month in the following format: YYYY-MM, where MM would be two-digit rendering of the month. For example, 1/15/14 would return 2014-01, or 11/2/13 would return 2013-11.
The following formula almost gets me there - except the month shows as a single digit, instead of having a leading 0 when needed.
var number YYYY = Year([SLA Date:]);var number MM = Month([SLA Date:]);(ToText($YYYY)) & "-" & (ToText($MM))
Question
Can I display a date field as YYYY-MM, where MM would be a two-digit rendering for the month?
This topic has been closed for replies.
Sign up
Already have an account? Login
Login to the community
Login with Quickbase US – quickbase.com Login with Quickbase EU – quickbase.eu
Enter your E-mail address. We'll send you an e-mail with instructions to reset your password.