Comment transfomer une date ???

cs_cybercop Messages postés 48 Date d'inscription mardi 11 juillet 2006 Statut Membre Dernière intervention 5 octobre 2011 - 25 avril 2009 à 22:11
cs_ghuysmans99 Messages postés 3982 Date d'inscription jeudi 14 juillet 2005 Statut Membre Dernière intervention 30 juin 2013 - 25 avril 2009 à 23:01
bjr a tous
j'ai une date comme ça 01-01-2009 et je veux transformer comme ça 01/01/2009 tous simplement changer caratctère - à  / .
Merci d'avance.

1 réponse

cs_ghuysmans99 Messages postés 3982 Date d'inscription jeudi 14 juillet 2005 Statut Membre Dernière intervention 30 juin 2013 16
25 avril 2009 à 23:01
Dim MaDate As Date
Dim MaJolieDate As String
MaJolieDate = MaDate.ToString()
MaJolieDate.Replace("-","/")
0
Rejoignez-nous