SalesForceBackup/Backup.cs
/// <summary>
/// Gets a specially formatted datetime string based on the current UTC datetime.
/// </summary>
/// <returns>The datetime string.</returns>
Gets a specially formatted datetime string based on the current UTC datetime.
Gets a specially formatted datetime string based on the current UTC datetime .
private string GetDatetimeString()
        {
            return String.Format("{0}-{1}-{2}_{3}-{4}",
                DateTime.UtcNow.Year.ToString("D4"),
                DateTime.UtcNow.Month.ToString("D2"),
                DateTime.UtcNow.Day.ToString("D2"),
                DateTime.UtcNow.Hour.ToString("D2"),
                DateTime.UtcNow.Minute.ToString("D2"));
        }
private string GetDatetimeString ( ) { return String . Format ( " " , DateTime . UtcNow . Year . ToString ( " " ) , DateTime . UtcNow . Month . ToString ( " " ) , DateTime . UtcNow . Day . ToString ( " " ) , DateTime . UtcNow . Hour . ToString ( " " ) , DateTime . UtcNow . Minute . ToString ( " " ) ) ; }
Gets a specially formatted datetime string based on the current UTC datetime.
Gets a specially formatted datetime string based on the current UTC datetime .
The datetime string.
The datetime string .