LocalQuarter
4 min
returns the value for the quarter of the year for the local date syntax localquarter(utcdatetime,timezone) enabled for for a description of the business object categories, see notes on "enabled for" docid\ u26v9fecfs6ilwa0 pvjd business object category yes/no business rules before save rules yes business rules calculation rules (after save, with or without also recalculate on load) yes business rules calculation rules (before save or always, without also recalculate on load) yes business rules calculation rules (before save or always, with recalculate on load) yes business rules editing rules yes business rules initialization rules yes business rules read only rules yes business rules required rules yes business rules validation rules yes client expressions yes object permissions yes services yes ldap yes mobile yes quick actions (except ui quick actions) yes ui quick actions yes reports yes search/dashboard without field references yes search/dashboard with field references yes parameters parameter description utcdatetime (optional) the datetime value for which to find the quarter of the year timezone (optional) the time zone, in iana format if you do not specify a time zone, the application uses the time zone associated with the current session return value number between 1 and 4 example $(localquarter()) if today is wednesday april 10, 2014 at 13 45 26 in the current time zone, this function returns 2 $(localquarter(createddatetime)) returns the quarter of the year in the current time zone when the incident was created $(localquarter(createddatetime, "antarctica/south pole")) returns the quarter of the year in the antarctica time zone when the incident was created
