View Single Post
Old 09-04-2019, 11:52 PM
Ed B. Ed B. is online now

Join Date: Apr 2016
Posts: 364

Default Date as column type?

I am writing a module with custom model, whose entities have dates as property.
It looks like x-cart handles dates as integers via timestamp, but I will be importing the entities from a CSV file, in which they are entered as dates. So my question is, can we do something like
/** *@Column (type="date") */ protected $name
I don't need to do much with stored dates, I just need to store, view, modify.
X-cart 5.2.12, php 5.6
Ed from Grenoble, France
Reply With Quote