0x4a52466c696e74 1 year ago
parent
commit
e808201412
1 changed files with 4 additions and 0 deletions
  1. 4 0
      time.go

+ 4 - 0
time.go

@@ -28,3 +28,7 @@ func (s *Time) RestFrom(source any) (err IErrorArgs) {
 	*s = Time(time.UnixMilli(rVal.Int()))
 	return
 }
+
+func (s *Time) Time() time.Time {
+	return time.Time(*s)
+}