You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
Digitalisation_EPA_Serveur/Commun/Function.cs

32 lines
676 B

using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
namespace EPAServeur.Commun
{
public class Function
{
private static Function instance = null;
private Function()
{
}
public static Function getInstance()
{
return instance;
}
public static string TransformNetDateTimeToSqlDate(DateTime date)
{
return date.ToString("yyyy'-'MM'-'dd' 'HH':'mm':'ss");
}
public static DateTime TransformSqlDateToNetDateTime(string date)
{
return new DateTime();
}
}
}