_MySQL.CurrentTimestamp (gb.mysql)
Function CurrentTimestamp ( [ Format As String ] ) As String
返回格式化的Timestamp(时间戳记)。
Format:*使用的格式。
更多信息请看
格式。
Examples
Dim hCon As New Connection
With hCon
.Type = "mysql"
.Port = "3306"
.Host = "localhost"
.User = "root"
.Password = "mypass"
.Name = "Gambas"
.Open()
End With
hCon.MySQL.Charset = "utf8"
Print hCon.MySQL.CurrentTimestamp("yyyy-mm-dd")