Dgraph date.Time and golang time.Time

Either works and depends on your use case. If you simply need to display the time, you can use string. If you need to do some datetime operations, use time.Time.

1 Like