mirror of
https://github.com/ManyakRus/starter.git
synced 2025-11-29 23:38:14 +02:00
сделал log
This commit is contained in:
12
mssql_func/mssql_func.go
Normal file
12
mssql_func/mssql_func.go
Normal file
@@ -0,0 +1,12 @@
|
||||
package postgres_func
|
||||
|
||||
import "time"
|
||||
|
||||
func StringSQLTime(time1 time.Time) string {
|
||||
Otvet := ""
|
||||
|
||||
//Otvet = "'" + time1.Format(time.RFC3339Nano) + "'"
|
||||
Otvet = "'" + time1.Format("20060102 15:04:05") + "'"
|
||||
|
||||
return Otvet
|
||||
}
|
||||
Reference in New Issue
Block a user