- Posts: 1184
- Thank you received: 13
order_created int(10) , not date
10 years 10 months ago #222908
by verzevoul
order_created int(10) , not date was created by verzevoul
Hi!
We re creating some scripts to make hikashop fully compatible with a delphi software.
We are in the orders table and the programmer is asking to have the order_created from int(10) to date, so that he can import this into his system.
If I change it manually from phpmyadmin is it ok? If not, can you help us with a script or direction on how to convert int to date?
We re creating some scripts to make hikashop fully compatible with a delphi software.
We are in the orders table and the programmer is asking to have the order_created from int(10) to date, so that he can import this into his system.
If I change it manually from phpmyadmin is it ok? If not, can you help us with a script or direction on how to convert int to date?
Please Log in or Create an account to join the conversation.
10 years 10 months ago #222916
by Jerome
Jerome - Obsidev.com
HikaMarket & HikaSerial developer / HikaShop core dev team.
Replied by Jerome on topic order_created int(10) , not date
Hi,
It is timestamp.
Regards,
It is timestamp.
Regards,
Jerome - Obsidev.com
HikaMarket & HikaSerial developer / HikaShop core dev team.
Please Log in or Create an account to join the conversation.
10 years 10 months ago #223114
by verzevoul
Replied by verzevoul on topic order_created int(10) , not date
The delphinet programmer needs time like 13/12/2015 15:15
is it possible to give an idea?
is it possible to give an idea?
Please Log in or Create an account to join the conversation.
10 years 10 months ago #223117
by nicolas
Replied by nicolas on topic order_created int(10) , not date
Hi,
It sure is possible. I suppose that your programmer must know about the FROM_UNIXTIME function of MySQL which allows you to convert a timestamp in a date and in that function, you can specify the format that you want for the date:
dev.mysql.com/doc/refman/5.5/en/date-and...nction_from-unixtime
It sure is possible. I suppose that your programmer must know about the FROM_UNIXTIME function of MySQL which allows you to convert a timestamp in a date and in that function, you can specify the format that you want for the date:
dev.mysql.com/doc/refman/5.5/en/date-and...nction_from-unixtime
Please Log in or Create an account to join the conversation.
10 years 10 months ago #223139
by lousyfool
Need help with customisations of layouts, style or other site development? PM me!
(Don't forget to turn on "E-mail notification of new messages" )
Replied by lousyfool on topic order_created int(10) , not date
If he's a programmer, you'd expect he's heard of it. Otherwise here's a classic reference:
php.net/manual/en/datetime.settimestamp.php
Need help with customisations of layouts, style or other site development? PM me!
(Don't forget to turn on "E-mail notification of new messages" )
Please Log in or Create an account to join the conversation.
Time to create page: 0.173 seconds