Skip to content
Get Paymattic Pro at Special Discount!
Save Up to 50%
paymattic logo
  • Pricing
  • FeaturesExpand
    • Features

      Explore all the features available in Paymattic.

      Payment Features

      Essential payment features to manage your transactions

      Donation Features

      Simplest donation features to run your fundraising campaigns

      See all features

      Get a glimpse of all the advanced features available in Paymattic

  • Use CasesExpand
    • Use Cases

      Paymattic offers versatile solutions for your versatile needs.

      Small Business

      Simplify payments, manage customers, and get revenue.

      Nonprofit

      Get donations, manage donors, and grow your funds.

      Membership

      Get paid memebers, manage them, and set specific roles.

      LMS

      Enroll students and sell courses with integrations.

  • Integrations
  • ResourcesExpand
    • Resources

      Everything you need to get the most out of Paymattic plugin.

      Free Plugin

      Explore all the powerful features available in Paymattic Free.

      Free VS Pro

      Compare the Paymattic Free plugin with Paymattic Pro.

      Blogs

      Get insights, tips, and guides to help your campaigns grow.

      Gateways

      Explore all the global payment gateways supported by Paymattic.

      • Documentation
      • Rest API Doc
      • Change Log
      • Contact Us
      • Get Support
      • Login
      • Report Security Issue
  • Demo
Grab Discount
Get Paymattic Pro at Special Discount!
Save Up to 50%
paymattic logo

How can we help you?

Popular Search subscriptionstripetherecurringuser

Getting Started with Paymattic

  • Paymattic Introduction 
  • How to Install and Activate Paymattic in WordPress

Form Editor

  • Add Multiple Column Containers in Forms
  • Create a Form from Scratch with Paymattic
  • How to Create a Step Form with Paymattic
  • How to Create Your First Payment Form in a Minute and Accept Payments with Paymattic?
  • How to Create WordPress Donation Form with Simple Form Templates?
  • How to Edit, Duplicate, or Delete Paymattic Forms
  • How to Use Conditional Logic in Form Fields with Paymattic?
  • How to Create PDF Feed for Form Submissions?

General Input Fields

  • How to Use the General Fields
  • How to Use the Payment Method Fields
  • How to Use the Donation & Product Fields 

Donation and Product Fields

  • Dynamic Payment Item Field 
  • Add Payment Summary Field in Forms 
  • How to Add Currency Switcher in WordPress Form?
  • How to Add Payment Item Fields in WordPress with Paymattic?
  • How to Add Subscription Payment Item Fields in Paymattic?
  • How to Add Tabular Product Item Fields in WordPress with Paymattic?
  • Add Donation Progress Item in Paymattic
  • How to Add Item Quantity Field in WordPress with Paymattic? 
  • How to Add Custom Payment Amount Field in WordPress with Paymattic?
  • How to Add Tax Calculated Amount Field in WordPress with Paymattic?
  • How to Add Coupon Field in WordPress with Paymattic
  • Donation Leaderboard in Paymattic 

Payment Methods

  • Configure Authorize.net in WordPress through Paymattic
  • How to Add Flutterwave Payment Gateway in Paymattic?
  • How to Integrate Xendit Payment Gateway in WordPress with Paymattic?
  • How to Integrate Square with Paymattic in WordPress?
  • How to Configure Billplz in WordPress with Paymattic?
  • How to Configure Stripe Payment Gateway in WordPress with Paymattic?
  • How to Configure PayPal in WordPress with Paymattic?
  • How to Set PayPal IPN in WordPress with Paymattic?
  • How to Integrate Mollie in WordPress with Paymattic?
  • How to Integrate Razorpay with Paymattic in WordPress
  • How to Integrate Paystack in WordPress with Paymattic?
  • How to Integrate Payrexx in WordPress with Paymattic
  • How to Integrate SSLCOMMERZ with Paymattic in WordPress?
  • How to Collect Offline Payment in WordPress with Paymattic
  • How to integrate Moneris Payment Gateway in Paymattic
  • How to Integrate Viva Wallet With Paymattic?

Global Settings

  • How to Add User Dashboard Module in Paymattic?
  • How to Configure Cloudflare Turnstile Security with Paymattic?
  • How to Configure reCAPTCHA in WordPress with Paymattic
  • How to Change Currency Settings in WordPress with Paymattic
  • How to Manage User Roles in WordPress with Paymattic?

Integrations

  • How to Integrate FluentCommunity in WordPress with Paymattic 
  • How to Integrate Google Sheets in WordPress with Paymattic?
  • How to Integrate Fluent Support with Paymattic in WordPress?
  • How to Integrate Webhook in WordPress with Paymattic?
  • How to Integrate Zapier with Paymattic in WordPress?
  • How to Integrate Slack in WordPress with Paymattic?
  • How to Integrate Telegram with Paymattic in WordPress?
  • How to Integrate Twilio with Paymattic in WordPress?
  • How to Integrate ActiveCampaign in WordPress with Paymattic?
  • How to Integrate Mailchimp in WordPress with Paymattic?
  • How to Integrate FluentCRM in WordPress with Paymattic
  • How to Create a User Registration Form with Paymattic in WordPress?

Learning Management System (LMS) Integrations

  • How to Integrate LifterLMS in WordPress with Paymattic?
  • How to Integrate LearnDash in WordPress with Paymattic?
  • How to Integrate Tutor LMS in WordPress with Paymattic?

Form Settings

  • Customize Form-Specific Payment Settings
  • How to Create Custom CSS/JS in WordPress with Paymattic? 
  • How to Set Form Scheduling and Restriction Settings in WordPress?
  • How to Customize Form Design Settings in WordPress with Paymattic?
  • How to Configure Confirmation Settings in WordPress?

Email Notification Settings

  • How to Setup Email Notifications in Paymattic WordPress Plugin?
  • How to Enable Email Notification For Subscription Cancel

Manage Form Entries

  • Manually Cancel Any Subscription
  • How to Manage Subscriptions in WordPress with Paymattic
  • How to Disable IP Address Logging in WordPress with Paymattic?
  • How to View Single Submission Data and Manage Payments in Paymattic
  • How to View and Manage All Form Entries in WordPress with Paymattic
  • How to Enable Stripe Payment Hold in Paymattic 
  • How to Refund Payments in Paymattic

Reports & Analytics

  • How to View the Reports and Payment Analytics in WordPress?

FAQ

  • Add First & Last Name Fields Separately
  • Date Formats Customization
  • How to Fix Not Sending Email Confirmations Issue in WordPress?

Customer Profile

  • How to View Customer Profile in WordPress with Paymattic?

Import - Export

  • How to Import-Export Forms with Paymattic
  • How to Export Form Entry/Entries with Paymattic  

Change Log

  • Change Log
View Categories
  • Home
  • Docs
  • FAQ
  • Date Formats Customization

Date Formats Customization

This article will guide you through the process of customizing the date formats for your Date & Time field.

Date Formatting Tokens #

CharacterDescriptionExample
dDay of the month, 2 digits with leading zeros01 to 31
DA textual representation of a dayMon through Sun
l (lowercase ‘L’)A full textual representation of the day of the weekSunday through Saturday
jDay of the month without leading zeros1 to 31
JDay of the month without leading zeros and ordinal suffix1st, 2nd, to 31st
wNumeric representation of the day of the week0 (for Sunday) through 6 (for Saturday)
WNumeric representation of the week0 (first week of the year) through 52 (last week of the year)
FA full textual representation of a monthJanuary through December
mNumeric representation of a month, with leading zero01 through 12
nNumeric representation of a month, without leading zeros1 through 12
MA short textual representation of a monthJan through Dec
UThe number of seconds since the Unix Epoch1413704993
yA two-digit representation of a year99 or 03
YA full numeric representation of a year, 4 digits1999 or 2003
ZISO Date format2017-03-04T01:23:43.000Z

Time Formatting Tokens #

CharacterDescriptionExample
HHours (24 hours)00 to 23
hHours1 to 12
GHours, 2 digits with leading zeros1 to 12
iMinutes00 to 59
SSeconds, 2 digits00 to 59
sSeconds0, 1 to 59
KAM/PMAM or PM

Advanced Configuration #

Paymattic Date and Time field use flatpickr JS library; for advanced users, you can provide the config object in the field’s advanced settings.

Adding the First Day of Week Date #

Now, you can add the start of the week date. You can do this with the help of a custom code; use the code given below:

{
    "locale": {
        "firstDayOfWeek": 1 // start week on Monday
    }
}

Available Options #

Config OptionTypeDefaultDescription
altFormatString“F j, Y”Exactly the same as date format, but for the altInput field
altInputBooleanfalseShow the user a readable date (as per altFormat), but return something totally different to the server.
altInputClassString“”This class will be added to the input element created by the altInput option.  Note that altInput already inherits classes from the original input.
allowInputBooleanfalseAllows the user to enter a date directly input the input field. By default, direct entry is disabled.
appendToHTMLElementnullInstead of body, appends the calendar to the specified node instead*.
ariaDateFormatString“F j, Y”Defines how the date will be formatted in the aria-label for calendar days, using the same tokens as dateFormat. If you change this, you should choose a value that will make sense if a screen reader reads it out loud.
clickOpensBooleantrueWhether clicking on the input should open the picker. You could disable this if you wish to open the calendar manually with.open()
dateFormatString“Y-m-d”A string of characters which are used to define how the date will be displayed in the input box. The supported characters are defined in the table below.
defaultDateStringnullSets the initial selected date(s).If you’re using mode: "multiple" or a range calendar supply an Array of Date objects or an Array of date strings which follow your dateFormat.Otherwise, you can supply a single Date object or a date string.
defaultHourNumber12Initial value of the hour element.
defaultMinuteNumber0Initial value of the minute element.
disableArray[]See Disabling dates
disableMobileBooleanfalseSet disableMobile to true to always use the non-native picker.
By default, flatpickr utilizes native datetime widgets unless certain options (e.g. disable) are used.
enableArray[]See Enabling dates
enableTimeBooleanfalseEnables time picker
enableSecondsBooleanfalseEnables seconds in the time picker.
formatDateFunctionnullAllows using a custom date formatting function instead of the built-in handling for date formats using dateFormat, altFormat, etc.
hourIncrementInteger1Adjusts the step for the hour input (incl. scrolling)
inlineBooleanfalseDisplays the calendar inline
maxDateString/DatenullThe maximum date that a user can pick to (inclusive).
minDateString/DatenullThe minimum date that a user can start picking from (inclusive).
minuteIncrementInteger5Adjusts the step for the minute input (incl. scrolling)
modeString“single”"single", "multiple", or "range"
nextArrowString>HTML for the arrow icon, used to switch months.
noCalendarBooleanfalseHides the day selection in calendar.
Use it along with enableTime to create a time picker.
onChangeFunction, [functions]nullFunction(s) to trigger on every date selection. See Events API
onCloseFunction, [functions]nullFunction(s) to trigger on every time the calendar is closed. See Events API
onOpenFunction, [functions]nullFunction(s) to trigger on every time the calendar is opened. See Events API
onReadyFunction, [functions]nullFunction to trigger when the calendar is ready. See Events API
parseDateFunctionfalseFunction that expects a date string and must return a Date object
positionString“auto”Where the calendar is rendered relative to the input.

"auto", "above" or "below"
prevArrowString<HTML for the left arrow icon.
shorthandCurrentMonthBooleanfalseShow the month using the shorthand version (ie, Sep instead of September).
showMonthsInteger1The number of months showed.
staticBooleanfalsePosition the calendar inside the wrapper and next to the input element*.
time_24hrbooleanfalseDisplays time picker in 24-hour mode without AM/PM selection when enabled.
weekNumbersBooleanfalseEnables display of week numbers in the calendar.
wrapBooleanfalseCustom elements and input groups

Please check flatpickr documentation for more details.

If you have any further questions, concerns, or suggestions, please do not hesitate to contact our @support team. Thank you.

What are your Feelings

Share This Article :

  • Facebook
  • X
  • LinkedIn
  • Pinterest
Still stuck? How can we help?

How can we help?

Updated on October 15, 2024
How to Fix Not Sending Email Confirmations Issue in WordPress?Add First & Last Name Fields Separately

Powered by BetterDocs

Table of Contents
  • Date Formatting Tokens
  • Time Formatting Tokens
  • Advanced Configuration
    • Adding the First Day of Week Date
    • Available Options
Paymattic - WordPress Payment and donation plugin.

Simplest WordPress Payment and Donation Management

Get Paymattic Pro to unlock all the advanced features

Get Paymattic
paymattic monotone light logos

Paymattic is a lightweight yet super powerful WordPress plugin designed for handling global payments, donations, subscriptions, and customers. Zero code needed.

Subscribe to Newsletter

Footer Newsletter
We won't spam you. Unsubscribe at any time.
Explore
  • Pricing
  • Features
  • Integrations
  • Paymattic Free
GET HELP
  • Blog
  • Support
  • Documentation
  • API Documentation
  • Account Login
  • Report Security Issue
Resources
  • Demo
  • Free vs Pro
  • Payment Gateways
  • Brand Guideline
  • Affiliate
Company
  • Sister Brands
  • About Us
  • Terms & Conditions
  • Privacy Policy
  • Contact Us

Follow us on:

Copyright ©2026 Paymattic. A Brand of WPManageNinja™

Start Your Paymattic Journey
at Zero Cost 🚀

Just download, install, and start collecting money from all around the globe with Paymattic.

Plugin Download Form
ChatGPT Icon Google AI Mode Perplexity AI Icon Grok AI Icon Claude AI Icon
  • Pricing
  • Features
    • Features

      Explore all the features available in Paymattic.

      Payment Features

      Essential payment features to manage your transactions

      Donation Features

      Simplest donation features to run your fundraising campaigns

      See all features

      Get a glimpse of all the advanced features available in Paymattic

  • Use Cases
    • Use Cases

      Paymattic offers versatile solutions for your versatile needs.

      Small Business

      Simplify payments, manage customers, and get revenue.

      Nonprofit

      Get donations, manage donors, and grow your funds.

      Membership

      Get paid memebers, manage them, and set specific roles.

      LMS

      Enroll students and sell courses with integrations.

  • Integrations
  • Resources
    • Resources

      Everything you need to get the most out of Paymattic plugin.

      Free Plugin

      Explore all the powerful features available in Paymattic Free.

      Free VS Pro

      Compare the Paymattic Free plugin with Paymattic Pro.

      Blogs

      Get insights, tips, and guides to help your campaigns grow.

      Gateways

      Explore all the global payment gateways supported by Paymattic.

      • Documentation
      • Rest API Doc
      • Change Log
      • Contact Us
      • Get Support
      • Login
      • Report Security Issue
  • Demo