Main Page | Forums | Register | Active Topics | Members | Search
 
Username:
Password:
ASP Calendars Forum >> ASP Calendars >> Support >> Change Time Format
Change Time Format
Author Topic
abaharloo999


Beginner

Join Date: 3/31/2008
Posts: 17

Posted: 4/28/2008 6:15:45 AM

dear admin... hello

i have simple question...

how can i change the time format in the AdminManageEvents.ascx?
right not it has to be like this: 1.34 pm , how can i change it to 24 hours like this: 14:00

please help./.

thanks

ASPCalendarsAdmin


Administrator

Join Date: 12/12/2007
Posts: 51

Posted: 4/29/2008 8:14:16 AM

These time formats are properties of the clsRecurEvent class in clsRecurEvent.cls. Change the "h:mm tt" parameter for theformat function in the StartTimeStr property and the EndTimeStr property to what format you want. I am not sure with the 24 hour format is, you'll have to look that up in you help sections from Microsoft.

DataBasic


Newbie

Join Date: 10/20/2008
Posts: 3

Posted: 10/20/2008 9:26:56 AM

24Hr format is uppercase e.g. HH:mm = 13:20

I also had to change the format "h:mm tt" in the folowing subs in controls/calendar.ascx.vb:

LoadDayCalendar
LoadWeekCalendar
BuildDays

Cheers,
DataBasic


  Copyright ASP Calendars DMG Forums 3.1