function readOnly(count){ }
Don't have an account?
Search for an answer or ask a question of the zone or Customer Support.
You need to sign in to do that
Sign in to start searching questions
Signup for a Developer Edition
Sign in to start a discussion
Below is the Example of the formatted date as you Expected one
let currentDate = new Date();
let formatter = new Intl.DateTimeFormat('en', {
year: "numeric" ,
month: "numeric",
day: "numeric",
hour: "2-digit",
minute: "2-digit",
hour12: "true"
})
let formattedDate = formatter.format(currentDate);
return `${this.sectionTitle} (as of ${formattedDate})`;
Hope you find your solution.
Thanks