Change order date to timestamp. |
Post Reply |
Author | ||
Brett
Groupie Joined: 22-April-2008 Location: Phoenix, AZ Status: Offline Points: 89 |
Post Options
Thanks(0)
Posted: 03-March-2014 at 3:52pm |
|
I wanted to be able to see when Incomplete orders are appearing. It looks like SaveOrd.asp creates the initial incomplete order when a customer starts checking out.
Right after that code I put this to overwrite the variable:
So far, it hasn't blown anything up. I just created an incomplete order and everything appears the same on the dashboard, but within the database I can actually see the time the incomplete order was created. Has anyone done this before? Do you forsee any issues? Edited by Brett - 03-March-2014 at 3:53pm |
||
Guests
Guest |
Post Options
Thanks(0)
|
|
This will be fine if you are in the US or using that date format and your server is also in the US.
To add the more detailed time stamp to the date in either format, simply append:
That is:
|
||
Post Reply | |
Tweet
|
Forum Jump | Forum Permissions You cannot post new topics in this forum You cannot reply to topics in this forum You cannot delete your posts in this forum You cannot edit your posts in this forum You cannot create polls in this forum You cannot vote in polls in this forum |