Skip to main content

How can I change the format and display of date and time? - مرکز آموزش / Using Deskpro - Deskpro Support

How can I change the format and display of date and time?

Authors list

You can customize the format that Deskpro uses to display dates and times in the Dates and Times section of Admin > Setup > Settings. 

The formatting will apply to the agent interface.

Enter the format characters from the table below that correspond to the date you want to display.

For example, the date format M j Y means that when the interface needs to display a date, it will display something like "Jan 1 2017". If you wanted it to display "1st January 15", you would edit the Date format field to read "jS F y".

 

format characterDescriptionExample output
Day  
dDay of the month, 2 digits with leading zeros01 to 31
DA textual representation of a day, three lettersMon through Sun
jDay of the month without leading zeros1 to 31
l (lowercase 'L')A full textual representation of the day of the weekSunday through Saturday
SEnglish ordinal suffix for the day of the month, 2 charactersst, nd, rd or th. Works well with j
zThe day of the year (starting from 0)0 through 365
Week  
WISO-8601 week number of year, weeks starting on MondayExample: 42 (the 42nd week in the year)
Month  
FA full textual representation of a month, such as January or MarchJanuary through December
mNumeric representation of a month, with leading zeros01 through 12
MA short textual representation of a month, three lettersJan through Dec
nNumeric representation of a month, without leading zeros1 through 12
Year  
YA full numeric representation of a year, 4 digitsExamples: 1999 or 2003
yA two digit representation of a yearExamples: 99 or 03
Time  
aLowercase Ante meridiem and Post meridiemam or pm
AUppercase Ante meridiem and Post meridiemAM or PM
g12-hour format of an hour without leading zeros1 through 12
G24-hour format of an hour without leading zeros0 through 23
h12-hour format of an hour with leading zeros01 through 12
H24-hour format of an hour with leading zeros00 through 23
iMinutes with leading zeros00 to 59
sSeconds, with leading zeros00 through 59
Timezone  
eTimezone identifierUTC, GMT, Atlantic/Azores
I (capital i)Whether or not the date is in daylight saving time1 if Daylight Saving Time, 0 otherwise
ODifference to Greenwich time (GMT) in hours+0200
PDifference to Greenwich time (GMT) with colon between hours and minutes+02:00
TTimezone abbreviationEST, MDT
Full Date/Time  
cISO 8601 date2004-02-12T15:19:21+00:00
rRFC 2822 formatted dateThu, 21 Dec 2000 16:01:07 +0200
مفید Unhelpful

53 of 93 people found this page helpful

اضافه کردن نظر

Please log in or register to submit a comment.

Need a password reminder?