Click here to Skip to main content
14,212,594 members
Rate this:
Please Sign up or sign in to vote.
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

Rate this:
Please Sign up or sign in to vote.

Solution 1

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.
   
v2

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

  Print Answers RSS
Top Experts
Last 24hrsThis month


Advertise | Privacy | Cookies | Terms of Service
Web01 | 2.8.190619.2 | Last Updated 24 Jul 2012
Copyright © CodeProject, 1999-2019
All Rights Reserved.
Layout: fixed | fluid

CodeProject, 503-250 Ferrand Drive Toronto Ontario, M3C 3G8 Canada +1 416-849-8900 x 100