static public DateTime NowDatJS(object value) { DateTime?result = ConvertTo.NullDatJS(value); if (!result.HasValue) { return(DateTime.Now); } else { return(result.Value); } }