Results 1 to 3 of 3
  1. #1
    Join Date
    Jan 2007
    Posts
    375
    Plugin Contributions
    3

    red flag Need help to SQL change the Product Add Date

    Hi all,

    My shop have add some new products, but the Products Date Add timestamp is wrong, for example 2023-08-28 12:35:55 etc on the MySQL.....

    I have phpmyadmin...

    How to enter SQL command there, search all the miss date, then change to sometime timestamp like that 2012-08-28 etc?

    Thank you.

  2. #2
    Join Date
    Sep 2011
    Location
    Slovakia
    Posts
    11
    Plugin Contributions
    0

    Default Re: Need help to SQL change the Product Add Date

    1. backup database !!!
    2. Go Tools/Install SQL Patches
    3. UPDATE products SET products_date_added = CURRENT_TIMESTAMP WHERE products_date_added > CURRENT_TIMESTAMP;

  3. #3
    Join Date
    Jan 2007
    Posts
    375
    Plugin Contributions
    3

    Default Re: Need help to SQL change the Product Add Date

    Hi FeriSK,

    Thank you very much. It work for me

 

 

Similar Threads

  1. v139h Need help undoing this SQL change
    By StoreOwner in forum General Questions
    Replies: 10
    Last Post: 27 Dec 2014, 04:22 PM
  2. v138a Need to get all orders in a date range by sql
    By navido in forum General Questions
    Replies: 12
    Last Post: 23 May 2013, 08:11 PM
  3. Need Help, how to add PAYPAL BUY NOW button on the product page?
    By doug56patterson in forum General Questions
    Replies: 3
    Last Post: 14 Aug 2010, 07:53 PM
  4. SQL Help - Need To Change Product Type
    By robinstl in forum General Questions
    Replies: 5
    Last Post: 16 Dec 2008, 02:45 AM
  5. Howto: Change the date a product was added to catalog?
    By wmarcy in forum General Questions
    Replies: 1
    Last Post: 16 May 2006, 01:01 AM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
disjunctive-egg