Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Return Quarter of last month
#5
val is not needed at all in this function.
simply use
Code:
Copy      Help
function str&lastMonthShort
DateTime pcDatum.FromComputerTime
pcDatum.AddMonths(-3) ;; calc september
lastMonthShort.from(pcDatum.ToStrFormat("{MM}") pcDatum.ToStrFormat("{yy}"))


Messages In This Thread
Return Quarter of last month - by BoolTaxCoder - 11-14-2021, 09:34 AM
RE: Return Quarter of last month - by Kevin - 11-15-2021, 02:17 AM
RE: Return Quarter of last month - by Kevin - 12-04-2021, 09:06 PM

Forum Jump:


Users browsing this thread: 1 Guest(s)