left(dtp1,4)&right(left(dtp1,7)2)&right(dtp1,2)&left(dtm1,2)left(right(dtm1,5)2)运行2003-1-10,8:30:00的值
2 回答
喵喵时光机
TA贡献1846条经验 获得超7个赞
Private Sub Form_Load()
Dim dtp1 As String, dtm1 As String
Form1.AutoRedraw = True
Form1.FontSize = 20
Form1.ForeColor = &H7700FF
'Form1.BorderStyle = 1
dtp1 = "2003-1-10"
dtm1 = "8:30:00"
Print Left(dtp1, 4) & Right(Left(dtp1, 7), 2) & Right(dtp1, 2) & Left(dtm1, 2); Left(Right(dtm1, 5), 2)
End Sub
答案是:“20031-108:30”
鸿蒙传说
TA贡献1865条经验 获得超7个赞
- 2 回答
- 0 关注
- 750 浏览
添加回答
举报
0/150
提交
取消