get a relative date similar to “5 minutes ago”. It supports both local and UTC dates as well as dates with offset (DateTimeOffset). It supports English and Persian.
1 | DateTime dateTime = new DateTime(2021, 09, 14, 0,0,0, DateTimeKind.Local); |
we only support English and Persian localization.
Demo
you can run demo and see this feature.