Click here to Skip to main content
15,887,596 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more: , +
Hello Guys! can anyone please tell me how to get system time in arabic in c# label

What I have tried:

i am not trying any thing but i am getting system date time but i want this in arabic
Posted
Updated 30-Jul-16 15:07pm

1 solution

Rendering characters in any language requires your having those language resources installed on your system, and you need to use the appropriate Windows "CultureInfo" class instance (language specific software context) to display text: [^]. Also, see: [^].

There's a code example here using the Arabic CultureInfo (Hijri date system): [^]
 
Share this answer
 
v2
Comments
Member 9983063 31-Jul-16 19:26pm    
can we do this without install arabic font
BillWoodruff 31-Jul-16 23:13pm    
While you MUST have the appropriate Arabic font installed, I believe on almost all Windows installations these days, Arabic fonts are installed.

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900