65.9K
CodeProject is changing. Read more.
Home

Urdu Date Time Picker

starIconstarIconstarIcon
emptyStarIcon
starIcon
emptyStarIcon

3.27/5 (22 votes)

Jun 22, 2007

CPOL
viewsIcon

75522

downloadIcon

483

First Time Urdu Date Time Picker

Screenshot - ssdtpicker.gif

Introduction

Several English date time pickers are available, but there is no Urdu dtpicker. This is the first time that an Urdu dtpicker is available on the Web. For Urdu dtpicker, the Unicoding technique has been used. For a fine look and best scripting, a powerful CSS is applied.

Background

Screenshot - calendar.jpg

This article is very useful for new programmers and Urdu lovers. Urdu language has a powerful historical background and literature, so it is time to promote NET Urdu.

Using the Code

// short day names
Calendar._SDN = new Array
("??????",
"???",
"????",
"???",
"??????",
"????",
"????",
"?????");
// First day of the week. "0" means display Sunday first, "1" means display
// Monday first, etc.
Calendar._FD = 0;
// full month names
Calendar._MN = new Array
("?????",
"?????",
"????",
"?????",
"??",
"???",
"?????",
"????",
"?????",
"??????",
"?????",
"?????");
// short month names

Points of Interest

Character Map Unicode is used for Urdu dtpicker. A powerful CSS is used.

The dtpicker is browser independent. It run on Internet explorer 4, 4.5, 5, 6, 7, Mozilla FireFox4, 5, Netscape 6 and all other browsers.

About Me

Tariq Aziz is a software Engineer in esolpk(pvt) ltd. Islamabad programming in .NET Enterprise level. ASP.NET 2.0, C# 2.0, JavaScript, XML, AJAX, WebServices.
He has a Master's degree in Computer Sciences from University of Lahore.

I have written many articles on The Code Project. This article is a good addition of my work. I enjoy getting article feedback from CodeProject users.

Screenshot - tariq_1.jpg