Completed

Open and Closing Time Handling

Create a function in PHP to handle open and closing time.

The times are in 24 hours format (23:30:00, 00:00:00, 00:30:00, etc)

**Example of working script needed:**

$nowTime = 18:00:00

$StoreOpenTime = 16:30:00

$StoreCloseTime = 23:30:00

Default_OrderOpenTime = 17:00:00

Default_OrderCloseTime = 23:00:00

$CanOrder = true; //do Some if statement check.

**Scenario:**

If nowTime is 18:00, Store Open at 16:30 but customers can only make orders after 17:00 then $CanOrder would be true;

Other example: If nowTime is 08:00 and Store Open at 10:00 but OrderOpenTime is 17:00 then $CanOrder would be false;

General Rule: Customer can only place order after 17:00 (Default_OrderOpenTime) but depending on the Store Open Time first.

Any questions? Let me know. thanks.

Evner: Ingeniørarbejde, MySQL, PHP, Projekt Ledelse, Software Arkitektur, Software Testning, Web Hosting, Hjemmeside Management, Hjemmeside Testning

Se mere: script closing order, open orders, function time, open project management, customer order management script, project closing time, project scenario, project management scenario, open order script, php order management script, closing order script, script time management, project management scenario questions, time management script, order management script, php function working hours, open time, true false questions, open at, format true false questions

Om arbejdsgiveren:
( 45 bedømmelser ) United Kingdom

Projekt ID: #3322831

Tildelt til:

donkihot

See private message.

$14 USD på 1 dag
(4 bedømmelser)
0.6

6 freelancere byder i gennemsnit $14 på dette job

shihan033010

See private message.

$15.3 USD på 1 dag
(247 bedømmelser)
6.4
racvrs

See private message.

$16.15 USD på 1 dag
(237 bedømmelser)
6.0
liveaspankaj

See private message.

$17 USD på 1 dag
(29 bedømmelser)
5.4
SGTBE

See private message.

$17 USD på 1 dag
(3 bedømmelser)
0.9
Satyendra070091

See private message.

$3.4 USD på 1 dag
(3 bedømmelser)
0.0