How to localize the days and months names of the calandar? for example I want the String "Monday" to apear as the localize name. The problem is that the javascript read the English system date format Any help? Thanks!
Edited by - lsakizada on 08 February 2006 15:16:23
Thanks for the advise. I did some some sorting and this is how this was implemented:
Function LangGetMonthName(NameOfMonth) if strLangLCID = "1037" Then select case ucase(Mid(NameOfMonth, 1, 3)) case "JAN" LangGetMonthName = strLangCal100780 case "FEB" LangGetMonthName = strLangCal100790 case "MAR" LangGetMonthName = strLangCal100800 case "APR" LangGetMonthName = strLangCal100810 case "MAY" LangGetMonthName = strLangCal100820 case "JUN" LangGetMonthName = strLangCal100830 case "JUL" LangGetMonthName = strLangCal100840 case "AUG" LangGetMonthName = strLangCal100850 case "SEP" LangGetMonthName = strLangCal100860 case "OCT" LangGetMonthName = strLangCal100870 case "NOV" LangGetMonthName = strLangCal100880 case "DEC" LangGetMonthName = strLangCal100890 case else LangGetMonthName = "error" end select else LangGetMonthName = NameOfMonth end if end function
but what i realy need is to localize this function that return the string of the day plus the date as in this example:
FormatDateTime(strForumTimeAdjust,vbLongDate)
any help on how to localized above function???
Edited by - lsakizada on 09 February 2006 15:35:36