I’ve noticed in the mtime package (go/pkg/beam/core/graph/mtime/time.go), there 
is a function FromTime which takes a time.Time and returns a mtime.Time. 

In my own project I’ve needed to convert to time.Time and to do so I needed to 
first convert to milliseconds and the use those milliseconds to create a new 
time.Time.

Instead, I propose we create a new function ToTime, which will take an 
mtime.Time and return a time.Time.

I would be happy to create the issue on the GitHub project and then create the 
pr, however, this is my first issue on this project and I thought I would run 
it by everyone first.

Thanks,
Kane Knight

Reply via email to