i have seen alot of answers where they have used tostring to make this conversion.
but what i want is after the coversion it still remains in the datetime format
and not string
please help.thank you in advance
Know the answer? Post it. Somebody with the same question will find it here.

Answer a question in the forums and earn +20 SHARP for every answer.
See unanswered questions
DevSocialUpcoming · 3rd editionAI Agents ConferenceDec 1–3, 2026Live onlineFree to attend5days leftRegister
Suthish NairRank #92 · 22.8K reputationPosted Jul 14, 2016, 6:21 AM EDT