Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Wanet Telecoms Ltd on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

system date in french

Status
Not open for further replies.

lemonhalls

Technical User
Jun 11, 2004
52
CA
How does one get the system date in french?

Thanks!

S
 
Hi Lemon [colorface]
Try this :
Code:
Dim SystemDate As Date
SystemDate = Format(Date, "dd/mm/yyyy")
Rodie
 
thanks rodie,

that only gives me the date in number format, but not French, what else do I need to get it into French?

Thanks,

S
 
Sorry ... but what do you mean by French ???
Vendredi 27 août 2004 ??

Thanks for enlightening me ...
Rodie
 
Something like this ?
Public Function getFrenchSysDate() As String
Dim aDays, aMonths
aDays = Split("? Dimanche Lundi Mardi Mercredi Jeudi Vendredi Samedi")
aMonths = Split("Janvier Février Mars Avril Mai Juin Juillet" _
& " Août Septembre Octobre Novembre Décembre")
getFrenchSysDate = aDays(Weekday(Date)) & " " & Day(Date) _
& " " & aMonths(Month(Date + 2) - 1) & " " & Year(Date)
End Function

Hope This Helps, PH.
Want to get great answers to your Tek-Tips questions? Have a look at FAQ219-2884 or FAQ222-2244
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top