Jump to content

PHP CLI- how to take input from command prompt (important and urgent)


ManojVarma

Recommended Posts

Write an application which accepts the date and time as command line parameter and outputs if its Work or Free. work hours are monday to friday and timings 9am to 4 pm?

 

by using :php -f app.php --'2013-01-12 10:24:57'

 

 

can anyone write a code for it? so important and fast

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.