翻译公历 [英] Translate Gregorian date

查看:87
本文介绍了翻译公历的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

vb输入tarikhe miladi和输出tarikh shamsi中的功能?

我相信OP要求使用VB代码将公历日期转换为波斯语-但我可能错了...

[edit]更有用的标题,标签和翻译(感谢Google!)-OriginalGriff [/edit]

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]

推荐答案

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



或者,如果您实际上要求日历翻译,而不仅仅是直接翻译,请尝试此处 [ ^ ].它在C#中,但是很容易转换为VB.



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.


这篇关于翻译公历的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆