Run Code
|
API
|
Code Wall
|
Misc
|
Feedback
|
Login
|
Theme
|
Privacy
|
Patreon
Get year quarter from date
//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) { DateTime date = new DateTime(2018, 4, 30); int quarter = (date.Month + 2) / 3; Console.WriteLine(quarter); } } }
run
|
edit
|
history
|
help
1
Fórum Parallel Threads ( Without Fun )
ToBase64String
6.1 Parallelism: race conditions
Comp 3
CultureInfo example
Range List for C#
BFS DFS stack vs recursive
function in event
числата от 1 до 20
AdventCode