Run Code
|
API
|
Code Wall
|
Misc
|
Feedback
|
Login
|
Theme
|
Privacy
|
Patreon
Date Comparison
//Title of this code //Rextester.Program.Main is the entry point for your code. Don't change it. using System; using System.Globalization; using System.Collections.Generic; using System.Linq; using System.Text.RegularExpressions; namespace Rextester { public class Program { public static void Main(string[] args) { var utcStartDate = DateTime.Now; var artel = string.Format("var messageSchedulerStartTime = new Date({0}, {1} - 1, {2}, {3}, {4}, {5});\n", utcStartDate.Year, utcStartDate.Month, utcStartDate.Day, utcStartDate.Hour, utcStartDate.Minute, utcStartDate.Second); var mark = string.Format("var messageSchedulerStartTime = new Date({0});\n",utcStartDate.ToString("yyyy, MM - 1, d, H, m, s")); Console.WriteLine(artel); Console.WriteLine(mark); } } }
run
|
edit
|
history
|
help
0
jkloikujyt5r4e3wsxdf
binary search tree reversal
prime_number
newMultQ working on more2
Checking time span between two timezone times
RRE
Custom Date Format
IntToExcelColumnNotation
Prac1_A
Crystals Plep