473,414 Members | 1,698 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,414 software developers and data experts.

Not a valid calendar for the given culture?

I have a program that worked before and now is giving me errors. Can
somebody tell me why

lblTime.text=microsoft.visualbasic.format(timeofda y,"hh:mm tt")

Error Message "Not a valid calendar for the given culture."

This worked for months and now is acting up.

Thanks,

Dan Friend
Nov 21 '05 #1
1 3870
Hi,

Why not use Now.ToShortTimeString

Ken
--------------
"Daniel Friend" <da*@donotspam.com> wrote in message
news:e8**************@TK2MSFTNGP09.phx.gbl...
I have a program that worked before and now is giving me errors. Can
somebody tell me why

lblTime.text=microsoft.visualbasic.format(timeofda y,"hh:mm tt")

Error Message "Not a valid calendar for the given culture."

This worked for months and now is acting up.

Thanks,

Dan Friend

Nov 21 '05 #2

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

2
by: reidarT | last post by:
Is it possible to control the calendar with Culture Info. Actually the name of the days and months. And how do I activate it_ regards Reihaa
2
by: bart wyckmans | last post by:
Hi, Anyone know how to set a default language to the calendar control. Thanks
3
by: gh0st54 | last post by:
Hi I have created a custom web control wich uses a couple of labels, txtbox and calendars I can change the culture of the txt and lbl no problem , how can I do the same for the calendars ? ...
2
by: Maziar Aflatoun | last post by:
Hi everyone, ..NET Calendar control treats all dates in the format of MM/DD/YYYY. Is it possible to change the calendar property to treat date at DD/MM/YYYY? Thank you Maz.
3
by: Stu | last post by:
Hi, I am nearing the end of a multilanguage conversion and have just come across a page which has a calendar control on it that needs translating. The current language of the site is stored in a...
6
by: Mike9900 | last post by:
Hello, I want to view the calendar in another culture, for example let it show in Arabic. I use this code in the Main, but the calendar is still in the same culture: CultureInfo sa = new...
1
by: 515331Jack3410 | last post by:
Is it possible to change the Calendar's control days and months names?
1
by: Marin | last post by:
I have some Calendar controls on my asp.net page. My computer (localhost) and my server is in Croatia, Europe. So calendar control have day in week and month caption on Croatian language. I want to...
1
by: swethak | last post by:
Hi, I am desiging the calendar application for that purpose i used the below code. But it is for only displys calendar. And also i want to add the events to calendar. In that code displys the...
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
0
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...
0
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing,...
0
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.