Hello sir,
Below is my code when i am inserting it and fetching the saved datetime from database its showing incorrect time, and date is correct.
plz help.
DateTime d = DateTime.Now;
cmd.Parameters.AddWithValue("@Date", d.ToString("dd-MM-yyyy HH:mm:ss tt"));