Tips and Tricks HQ Support

Support site for Tips and Tricks HQ premium products

  • Home
  • Contact Us
  • Documentation
  • Forum Home
    • Forum
    • Forum Search
    • Forum Login
    • Forum Registration

How to change date format?

by

Tips and Tricks HQ Support Portal › Forums › WP eStore Forum › How to change date format?

Tagged: date format, receipt creator

  • This topic has 7 replies, 3 voices, and was last updated 12 years, 5 months ago by admin.
Viewing 8 posts - 1 through 8 (of 8 total)
  • Author
    Posts
  • February 7, 2012 at 9:57 am #5497
    Yanains
    Member

    For example, I want to see D.M.Y instead Y-M-D. What I have to change?

    I mean purchase date.

    TIA

    February 7, 2012 at 11:03 pm #41710
    admin
    Keymaster

    WP eStore doesn’t have an option to change that unfortunately.

    We mostly use the international date format in the plugin:

    http://en.wikipedia.org/wiki/ISO_8601

    February 8, 2012 at 3:24 pm #41711
    Yanains
    Member

    May be you can tell me where I can change date format in a code?

    February 9, 2012 at 1:45 am #41712
    admin
    Keymaster

    Check for the following throughout the code and change it to the format that you like:

    date ("Y-m-d")

    Changing this is not recommended as it has a big chance of breaking the plugin (make sure to keep backups).

    November 14, 2012 at 10:52 pm #41713
    carlyblack206
    Member

    is there any reason why it has been created to show the format of Y-m-d? it really doesn’t suit most of the ways that dates automatically display. I did try changing the format of it to d-m-Y but all it did was leave the date field blank throughout processes.

    Is there any plan to change this formatting as it really seems quite backward to display a date on a receipt as Y-m-d

    thanks for your time

    November 15, 2012 at 9:01 am #41714
    admin
    Keymaster

    MySQL database expects the data format to be “Y-M-D” which is why all data data is stored in that format. This doesn’t meant that the date values that gets shown your your users (on the font end of your site) will have values like that. When you say “receipt” do you mean the output from the receipt creator addon?

    November 22, 2012 at 3:48 am #41715
    carlyblack206
    Member

    yes that’s correct, from the receipt creator addon (sorry for late reply)

    November 23, 2012 at 5:06 am #41716
    admin
    Keymaster

    Please download a new copy of the receipt creator addon and the date value printed on the receipt should be formatted nicely.

  • Author
    Posts
Viewing 8 posts - 1 through 8 (of 8 total)
  • You must be logged in to reply to this topic.
Log In

Forum Related

  • Forum Home
  • Forum Search
  • Forum Registration
  • Forum Login

Support Related Forms

  • Contact Us
  • Customer Support
  • Request a Plugin Update
  • Request Fresh Download Links

Useful Links

  • Plugin Upgrade Instructions
  • WP eStore Documentation
  • WP eMember Documentation
  • WP Affiliate Platform Documentation
  • Tips and Tricks HQ Home Page
  • Our Projects

Quick Setup Video Tutorials

  • WP eStore Video Tutorial
  • WP eMember Video Tutorial
  • WP Affiliate Platform Video Tutorial
  • Lightbox Ultimate Video Tutorial

Our Other Plugins

  • WP Express Checkout
  • Stripe Payments Plugin
  • Simple Shopping Cart Plugin
  • Simple Download Monitor

Copyright © 2025 | Tips and Tricks HQ