date time issue in online
when am use the date time it show correct datetime but when it is online it shows wrong am usng following but both r not working
DateTime.Now.ToShortDateString();
DateTime.Now.AddHours(12).AddMinutes(34).ToString("dd-MMM-yyyy hh:mm tt");