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
This topic contains 0 replies, has 1 voice, and was last updated by Jürgen 6 years, 5 months ago.
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”);
You must be logged in to reply to this topic.