Unable to display date in Arabic in VB6 -
i trying display date in arabic language in vb6. showing date in english language. have set following things in "region , language" window:
- current language non-unicode programs : arabic (egypt),
- format : arabic (egypt),
- location : egypt
in "region , language" window, date display correctly in arabic.
i using following code display date in arabic:
msgbox date
vb6 doesn't out-of-the-box.
if want date formatted dd/mm/yyyy use
msgbox format$(date, "dd/mm/yyyy")
or
msgbox formatdatetime(date, vbshortdate)
as explained here , "short date" indicated arvo
Comments
Post a Comment