public static void Main()
DateTime utcNow = DateTime.SpecifyKind(DateTime.Now, DateTimeKind.Utc);
TimeZoneInfo cstZone = TimeZoneInfo.FindSystemTimeZoneById("New Zealand Standard Time");
DateTime nzstNow = TimeZoneInfo.ConvertTimeFromUtc(utcNow, cstZone);
DateTime dateListedTo = nzstNow.AddDays(-60);
DateTime dateListedFrom = dateListedTo.AddMonths(months * -1);
string dateTimeFormat = "yyy-MM-dd";
Console.WriteLine("Date listed to: " + dateListedTo.ToString(dateTimeFormat));
Console.WriteLine("Date listed from: " + dateListedFrom.ToString(dateTimeFormat));
Console.WriteLine("Sale date till: " + nzstNow.ToString(dateTimeFormat));