Re: storing start/end times
Posted by: Dimitris Papageorgiou
Date: April 12, 2015 02:13AM

Peter Brawley Wrote:
-------------------------------------------------------
> > in national holidays etc..
>
> If all the stores are in one country, here is one
> solution---keep a table of holidays(d date),
> populate it with dates for xmas, the national
> holiday, labour day &c, then populate the
> hoursopen table for each store with something like
> this ...
I assume there other solutions to it...this is just what you propose...I am not saying it is wrong.


> Then for store owners, build a monthly calendar
> interface from a query like ...

Why not just displaying a week a pick and enter from there...open/close hours for each weekday...
Why display the whole month?


> A column created as time default null will not do
> that.
Yes you are absolutely right...the problem appear only in Netbeans...if I enter null times from PHPMyAdmin there is no problem.

Options: ReplyQuote


Subject
Written By
Posted
Re: storing start/end times
April 12, 2015 02:13AM


Sorry, you can't reply to this topic. It has been closed.

Content reproduced on this site is the property of the respective copyright holders. It is not reviewed in advance by Oracle and does not necessarily represent the opinion of Oracle or any other party.