Friday, December 13, 2013

ADM Template for Date format - Short and Long Style

Here is the template for Date format - Short and Long Style

CLASS USER

CATEGORY "Control Panel"

        CATEGORY "Regional Settings"

            POLICY "Specify Date Settings"

             KEYNAME "Control Panel\International"

            EXPLAIN !!expSetDateFormat

                        PART "Short date style"  DROPDOWNLIST REQUIRED

                        VALUENAME "sShortDate"

                        ITEMLIST

                                    NAME "M/d/yy"            VALUE "M/d/yy"

                                    NAME "M/d/yyyy"          VALUE "M/d/yyyy"

                                    NAME "MM/dd/yy"          VALUE "MM/dd/yy"

                                    NAME "MM/dd/yyyy"        VALUE "MM/dd/yyyy"

                                    NAME "yy/MM/dd"          VALUE "yy/MM/dd"

                                    NAME "dd-MMM-yy"         VALUE "dd-MMM-yy"

                    NAME "yyyy/MM/dd"        VALUE "yyyy/MM/dd"                       

            NAME "dd.MM.yyyy"        VALUE "dd.MM.yyyy" DEFAULT

                        END ITEMLIST

                        END PART       

                        PART "Long date style"   DROPDOWNLIST REQUIRED

                        VALUENAME "sLongDate"

                        ITEMLIST

                NAME "dddd d MMMM yyyy"        VALUE "dddd d MMMM yyyy" DEFAULT

                                NAME "dddd MMMM dd, yyyy"     VALUE "dddd MMMM dd yyyy"

                                NAME "MMMM dd yyyy"           VALUE "MMMMdd yyyy"

                                NAME "dddd dd MMMM yyyy"      VALUE "dddddd MMMM, yyyy"

                                NAME "dd MMMM yyyy"           VALUE "dd MMMM yyyy"

                NAME "MMMM d, yyyy"           VALUE "MMMM d, yyyy"

                        END ITEMLIST

                        END PART

                    END POLICY

        END CATEGORY

END CATEGORY

[strings]

expSetDateFormat="Specifies the format for client default date format"

No comments:

Post a Comment