Home / Questions / Other PHP DateTime object कैसे बनाते हैं? में error आए तो solution क्या है? Other 0 Views Verified PHP DateTime object कैसे बनाते हैं? में error आए तो solution क्या है? सही विकल्प चुनें और code/solution को समझें। #php #core php #php programming #php tutorial #php error #php solution #backend #developer Sarkari Result QA Bank Editorially reviewed exam information Share
Verified Correct Answer $dt = new DateTime('now'); $dt = new DateTime('now'); Additional Explanation DateTime class date/time manipulation के लिए उपयोगी है। पहले exact error message, line number और input value check करें।
Verified $dt = new DateTimeObject(); $dt = new DateTimeObject(); Additional Explanation यह विकल्प सही Core PHP solution नहीं है।
Verified $dt = datetime(); $dt = datetime(); Additional Explanation यह विकल्प सही Core PHP solution नहीं है।
Verified $dt = DateTime.create(); $dt = DateTime.create(); Additional Explanation यह विकल्प सही Core PHP solution नहीं है।