E2E Forum › Modeling & Development › How can I determine whether it’s the last day of the month?
Tagged: Payday Loans for those on Rewards Useful Monetary Vacation resort pertaining to Handicapped Men and women
Use the following snippet: // get today local today = currentDateTime();
// calculate tomorrow by adding one day (use type durationStructure) create day; set day.days = 1; local tomorrow = today.add(day);
// check if tomorrow is first of month set lastDayOfMonth = (tomorrow.printLocalDateTimeExpression(“%d”) = “01”);