Template Functions
Overview of template functions
Functions
Date Time functions
// Takes in milliseconds as a number or string and a format.
// Returns formatted date string
string UnixTimeToDateString(long? ms, string format = "yyyy-MM-dd") {...}
string UnixTimeToDateString(string ms, string format = "yyyy-MM-dd") {...}Other functions
// Safe way to get a property
// Returns a property by name, or null if not found
dynamic GetProperty(dynamic obj, string name) {...}Usage Example
Last updated