Run Code
|
API
|
Code Wall
|
Misc
|
Feedback
|
Login
|
Theme
|
Privacy
|
Patreon
ANQ Bug with Feb month display
//Rextester.Program.Main is the entry point for your code. Don't change it. //Compiler version 4.0.30319.17929 for Microsoft (R) .NET Framework 4.5 using System; using System.Collections.Generic; using System.Linq; using System.Text.RegularExpressions; namespace Rextester { public class Program { public static void Main(string[] args) { var lastYearDOB = DateTime.Parse("2018-05-31"); Console.WriteLine("Last Year DOB \t: " + lastYearDOB.ToString("dd-MM-yyyy")); lastYearDOB = lastYearDOB.AddMonths(3); Console.WriteLine("First Quarter \t: " + lastYearDOB.ToString("dd-MM-yyyy")); lastYearDOB = lastYearDOB.AddMonths(3); Console.WriteLine("Second Quarter \t: " + lastYearDOB.ToString("dd-MM-yyyy")); lastYearDOB = lastYearDOB.AddMonths(3); Console.WriteLine("Third Quarter \t: " + lastYearDOB.ToString("dd-MM-yyyy")); lastYearDOB = lastYearDOB.AddMonths(3); Console.WriteLine("Last Quarter \t: " + lastYearDOB.ToString("dd-MM-yyyy")); } } }
run
|
edit
|
history
|
help
0
Collatz Conjecture
Delegates
Evaluating a Mathematical expression in a string in C#
Create Sealed Class Object
12
ASCII -> Braille ASCII
Sam a,b and c
sdfghyjtgfredx
LoL
Problem: on_off