PHP date function accept null or empty string and return value -
This is Amazing when I send a tap value as a second parameter, then it gives some time? How to remove this thing, I want that if a stroke is empty or empty then nothing does
$ x = strtotime (); Var_dump ($ x); Var_dump ($ x == zero); Echo date ('h: i', $ x);
display
Warning: strtotime () is expected at least 1 parameter, 0 is given in D: \ xampp \ htdocs \ test 1 Bull (false) Bull (true) on the index.php line 05:30
It makes sense to understand that zero is equal to 0
in this case is related to date ()
0, which is January 1, 1970, 0:00:00 UTC Was there.
You are based in Jaipur. Your timing zone will, therefore, result in your time zone on
Comments
Post a Comment