请会C#的进,给看看这是什么意思,我只会VB,想把这段翻译成VB。

[复制链接]
查看11 | 回复3 | 2012-11-6 01:34:25 | 显示全部楼层 |阅读模式
估计你这段代码是java的。C#中我没找到SimpleDateFormat。无法重现,所以以下代码不保证结果与你上面的一样。Private Declare Sub CopyMemory Lib "kernel32" Alias "RtlMoveMemory" (Destination As Any, Source As Any, ByVal Length As Long)Private Sub Form_Load()Dim strTime As StringDim dttime As DatestrTime = "2011-8-9 12:12:32"dttime = CDate(strTime)Dim ltime A...
回复

使用道具 举报

千问 | 2012-11-6 01:34:25 | 显示全部楼层
Dim strTime As String = "2011-8-9 12:12:32"Dim simpleDateFormat As SimpleDateFormat = New SimpleDateFormat("yyyy-MM-dd HH:mm:ss")Dim ltime As Long = 0Try
Dim date As Da...
回复

使用道具 举报

千问 | 2012-11-6 01:34:25 | 显示全部楼层
Dim strTime As String = "2011-8-9 12:12:32"Dim simpleDateFormat As SimpleDateFormat = New SimpleDateFormat("yyyy-MM-dd HH:mm:ss")Dim ltime As Long = 0TryDim date As Date = ...
回复

使用道具 举报

您需要登录后才可以回帖 登录 | 立即注册

本版积分规则

主题

0

回帖

4882万

积分

论坛元老

Rank: 8Rank: 8

积分
48824836
热门排行