Introducing XDA:DevCon – A Conference For Developers By Developers
XDA Developers Android and Mobile Development Forum
Forgot your password?
 
Tip us?
 
HighTechRedneck83
Old
#1  
Junior Member - OP
Thanks Meter 0
Posts: 3
Join Date: Mar 2006
Default Change "workday" time in Calendar?

OK. silly question time. I have an XDA Mini S and I'm trying to change the default "workday time" in the calendar from 0800-1700hrs to 0600-1800hrs. In Outlook, this can be done by choosing Tools>Options>Calendar Options but I can't find anywhere on the Mini S to change this default time period.

Can anyone out there shed any light on this little annoyance? Thanks in advance for the help!


Red
 
meschle
Old
#2  
Retired Moderator
Thanks Meter 3
Posts: 1,103
Join Date: Feb 2006
Location: Coventry, England
Copied from the WM5 wiki

Change Calendar 'working hours'

If you wish to change the 'working hours' in the calendar, adjust the following:
For 8am-5pm (default):

HKLM\Software\Microsoft\Calendar\ActiveTimes\Activ eTimes = 2210003E (DWORD hexadecimal)

For 9am-5pm:

HKLM\Software\Microsoft\Calendar\ActiveTimes\Activ eTimes = 2212003E (DWORD hexadecimal)

For 2pm-10pm:

HKLM\Software\Microsoft\Calendar\ActiveTimes\Activ eTimes = 2C1C003E (DWORD hexadecimal)


Here's how this works.
The first 2 characters define the ending hour as a count of half hours since midnight, in hexadecimal. So for midnight, it would be 0 half hours in hexadecimal = 0. 5pm is 17 hours, or 34 half hours. 34 in hexadecimal is 22. 10pm is 22 hours, or 44 half hours. 44 in hexadecimal is 2C. You can use a calculator capable of hexadecimal conversions to get the hexadecimal number.
Similarly, the next 2 characters define the starting hour as a count of half hours since midnight, in hexadecimal. So for 8am.. 16 half hours, 16 in hexadecimal is 10. 9am = 18 half hours = 12. 14h = 28hh = 1C.
Using the above, you should be able to se the working hours to whatever you'd line.
Note that this value also adjusts the working DAYS. The examples here all use the default Mon-Fri workweek. See the "Change Calendar 'working days'" tweak to modify this.
Note that the ActiveTimes key and value may not exist. Simply create them first.
Note that you cannot set the End time earlier than the Start time, for obvious reasons
Note that you cannot set a Midnight end time. The best you can do is 11.30pm (2F)
Regards Mark

Retired from forum
 
HighTechRedneck83
Old
#3  
Junior Member - OP
Thanks Meter 0
Posts: 3
Join Date: Mar 2006
Thanks for the assist!
 
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Go to top of page...