Not a valid calendar for the given culture?

  • Thread starter Thread starter Daniel Friend
  • Start date Start date
D

Daniel Friend

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

lblTime.text=microsoft.visualbasic.format(timeofday,"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
 
Hi,

Why not use Now.ToShortTimeString

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

lblTime.text=microsoft.visualbasic.format(timeofday,"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
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Back
Top