17 lines
378 B
C#
17 lines
378 B
C#
|
|
namespace CRIF.ACTion.Common
|
|
{
|
|
public static class Dates
|
|
{
|
|
public static string GetFormattedDOB(DateTime dob)
|
|
{
|
|
return dob.ToString("yyyy-MM-dd");
|
|
}
|
|
|
|
public static string GetFormattedApplicationDate(DateTime applicationDate)
|
|
{
|
|
return applicationDate.ToUniversalTime().ToString("o");
|
|
}
|
|
}
|
|
}
|