Livecycle

Livecycle

  • Welcome to Adobe LiveCycle Designer ES
  • Introducing Designer ES
  • Getting Started
  • Quick Start Tutorials
  • Using LiveCycle Designer ES
  • Using Guide Builder
  • Scripting
  • Menu, Command, Toolbar, and Dialog Box Reference
  • Sample Form Snippets and Forms
  • Glossary
  • Copyright and trademark notices
  • Livecycle
  • Scripting
  • FormCalc User Reference
  • Date and Time Functions
  • DateFmt
DateFmt
Returns a date format string, given a date format style.
Syntax
DateFmt([n [, k ]])
Parameters
 
Parameter
Description
n (optional)
An integer identifying the locale-specific time format style as follows:
•
1 (Short style)
•
2 (Medium style)
•
3 (Long style)
•
4 (Full style)
If n is omitted (or is invalid), the default style value 0 is used.
k (optional)
A locale identifier string that conforms to the locale naming standards. If k is omitted (or is invalid), the ambient locale is used.
Examples
The following expressions are examples of using the DateFmt function:
 
Expression
Returns
DateFmt(1)
M/D/YY (if en_US locale is set)
DateFmt(2, “fr_CA”)
YY-MM-DD
DateFmt(3, “de_DE”)
D. MMMM YYYY
DateFmt(4, “fr_FR”)
EEEE D’ MMMM YYYY

DateFmt

Livecycle > DateFmt

  • Welcome to Adobe LiveCycle Designer ES
  • Introducing Designer ES
    • Getting Started
      • Quick Start Tutorials
        • Using LiveCycle Designer ES
          • Using Guide Builder
            • Scripting
              • Scripting Using LiveCycle Designer ES
                • Scripting Reference
                  • FormCalc User Reference
                    • Introducing FormCalc
                      • Language Reference
                        • Arithmetic Functions
                          • Date and Time Functions
                            • About date and time functions
                            • Date
                            • Date2Num
                            • DateFmt
                            • IsoDate2Num
                            • IsoTime2Num
                            • LocalDateFmt
                            • LocalTimeFmt
                            • Num2Date
                            • Num2GMTime
                            • Num2Time
                            • Time
                            • Time2Num
                            • TimeFmt
                          • Financial Functions
                            • Logical Functions
                              • Miscellaneous Functions
                                • String Functions
                                  • URL Functions
                                • Menu, Command, Toolbar, and Dialog Box Reference
                                  • Sample Form Snippets and Forms
                                    • Glossary
                                    • Copyright and trademark notices

                                    Livecycle

                                    • de
                                    • en
                                    • fr
                                    Powered by Helpmax Guide Source