Answers for "c# int to string date conversion"

C#
0

c# int to string date conversion

/// Return Int32 type in date string YYYYMMDD. 
public static Int32 DateToIntDate(this DateTime date)
        {
            return Convert.ToInt32(date.ToString("YYYYMMDD"));
        }
Posted by: Guest on January-06-2022

Code answers related to "c# int to string date conversion"

C# Answers by Framework

Browse Popular Code Answers by Language