Partager via


DateFormattingInfo

Fournit les informations de mise en forme de la date pour l’utilisateur actuel.

Disponible pour

Applications pilotées par modèle

Propriétés

abbreviatedDayNames

{ « Sun », « Mon », « Tue », « Wed », « Thu », « Fri », « Sat » }

Type : string

abbreviatedMonthGenitiveNames

{ « Jan », « Feb », « Mar », « Apr », « May », « Jun », « Jul », « Aug », « Sep », « Oct », « Nov », « Dec », «  » }

Type : string[]

abbreviatedMonthNames

{ « Jan », « Feb », « Mar », « Apr », « May », « Jun », « Jul », « Aug », « Sep », « Oct », « Nov », « Dec », «  » }

Type : string[]

amDesignator

« AM »

Type : string

calendrier

Type : object

L’objet calendar contient les propriétés suivantes :

Nom Type Descriptif
algorithmType number 1
calendarType number 1
maxSupportedDateTime Date « /Date(253402300799999)/ »
minSupportedDateTime Date « /Date(-62135568000000)/ »
twoDigitYearMax number 2029

calendarWeekRule

Type : number

dateSeparator

"/"

Type : string

dayNames

{ « Dimanche », « Lundi », « Mardi », « Mercredi », « Jeudi », « Vendredi », « Samedi » }

Type : string[]

firstDayOfWeek

Type : number

La firstDayOfWeek propriété peut être définie sur l’une des valeurs suivantes :

Valeur Meaning
0 Dimanche
1 Lundi
2 Mardi
3 Mercredi
4 Jeudi
5 Vendredi
6 Samedi

fullDateTimePattern

« dddd, MMMM d, aaaa h :mm :ss tt »

Type : string

longDatePattern

dddd, MMMM d, aaaa »

Type : string

longTimePattern

« hh :mm :ss tt »

Type : string

monthDayPattern

« MMMM dd »

Type : string

monthGenitiveNames

{ « Janvier », « Février », « Mars », ... « Décembre », «  » }

Type : string[]

monthNames

{ « Janvier », « Février », « Mars », ... « Décembre », «  » }

Type : string[]

pmDesignator

« PM »

Type : string

shortDatePattern

« M/d/aaaa »

Type : string

shortTimePattern

« h :mm tt »

Type : string

shortestDayNames

{ « Su », « Mo », « Tu », « We », « Th », « Fr », « Sa » }

Type : string[]

sortableDateTimePattern

aaaa'-'MM'-'dd’T’HH' :'mm' :'ss"

Type : string

timeSeparator

":"

Type : string

universalSortableDateTimePattern

« aaaa'-'MM'-'dd HH' :'mm' :'ss’Z' »

Type : string

yearMonthPattern

« MMMM aaaa »

Type : string

Référence des API Power Apps component framework
Vue d'ensemble de Power Apps component framework