Click here to Skip to main content
15,914,375 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
function in vb input tarikhe miladi and output tarikh shamsi?

I believe the OP is asking for VB code to translate Gregorian dates into Farsi - but I could be wrong...

[edit]More useful title, Tags, translation (thanks Google!) - OriginalGriff[/edit]
Posted
Updated 25-May-10 10:18am
v2

1 solution

VB
Public Function Convert(ByVal Input As String) As String
    If Input = "tarikhe miladi" Then
        return "tarikh shamsi"
    End If
    Return ""
End Function


Or if you actually asking for a calendar translation, and not just a straight translation, try here[^]. It's in C#, but it's easy enough to convert to VB.
 
Share this answer
 
v2

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900