Print Page | Close Window

how to show weeknumber

Printed From: Codejock Forums
Category: Codejock Products
Forum Name: Calendar
Forum Description: Topics Related to Codejock Calendar
URL: http://forum.codejock.com/forum_posts.asp?TID=15480
Printed Date: 06 October 2024 at 5:28pm
Software Version: Web Wiz Forums 12.04 - http://www.webwizforums.com


Topic: how to show weeknumber
Posted By: hinnack
Subject: how to show weeknumber
Date Posted: 28 October 2009 at 2:46am
Hi,

how can I show the weeknumber / calendarweek in dayview / weekview?

-- Hinnack



Replies:
Posted By: mdoubson
Date Posted: 29 October 2009 at 1:27pm

use C-style setting - like this

CalendarControl.FullDateMode = True
CalendarControl.DayHeaderFormat = "week=%W %A, %B %d"


-------------
Mark Doubson, Ph.D.


Posted By: hinnack
Date Posted: 30 October 2009 at 3:29am
works half the way: wrong language! I do get english weekdaynames and monthnames othough the rest is german...

How to show the weeknumber in weekview?

-- Hinnack


Posted By: mdoubson
Date Posted: 30 October 2009 at 7:44am
Check this http://msdn.microsoft.com/en-us/library/fe06s4ak%28VS.80%29.aspx - http://msdn.microsoft.com/en-us/library/fe06s4ak(VS.80).aspx  and this http://msdn.microsoft.com/en-us/library/x99tb11d%28VS.80%29.aspx - http://msdn.microsoft.com/en-us/library/x99tb11d(VS.80).aspx
No WeekView (2-column mode) supported - only multi-columns mode

-------------
Mark Doubson, Ph.D.


Posted By: mdoubson
Date Posted: 30 October 2009 at 8:24am
e.g. ::setlocale(LC_ALL, _T("German"));

-------------
Mark Doubson, Ph.D.


Posted By: hinnack
Date Posted: 01 November 2009 at 8:02am
thanks for the info!
But why is everywhere in your component the correct language shown (for e.g. weekdays) except for using this?
CalendarControl.FullDateMode = True
CalendarControl.DayHeaderFormat = "week=%W %A, %B %d"

-- Hinnack


Posted By: mdoubson
Date Posted: 04 November 2009 at 1:12pm
Please try update https://forum.codejock.com/uploads/BetaOCX/CalendarBeta13-2.rar - https://forum.codejock.com/uploads/BetaOCX/CalendarBeta13-2.rar  
where Week Number in header matched to DatePicker Week Number


-------------
Mark Doubson, Ph.D.



Print Page | Close Window

Forum Software by Web Wiz Forums® version 12.04 - http://www.webwizforums.com
Copyright ©2001-2021 Web Wiz Ltd. - https://www.webwiz.net