Run Code
|
API
|
Code Wall
|
Misc
|
Feedback
|
Login
|
Theme
|
Privacy
|
Patreon
C# - Creating XLS filename from datetime
//Title of this code //Rextester.Program.Main is the entry point for your code. Don't change it. using System; using System.Globalization; namespace Rextester { public class Program { public static void Main(string[] args) { //DateTime now = DateTime.Now; //Console.WriteLine(string.Format("0:##.########%",now)); //Console.WriteLine(DateTime.Now.ToString("MM/dd/yyyy HH:mm")); Console.WriteLine(DateTime.Now.ToString("yyyyMMddHHmm") + ".xls"); //decimal now = 0.12456789; //Console.WriteLine(string.Format("{0}-ROC-{1:000}", "PNG", 250)); } } }
run
|
edit
|
history
|
help
0
Compiler
Bubble sort
Hareket
2
linked list (add to end and beginning, and looking for cycles based on Floyd's algorithm)
Operator operates. Op!
test
lovefishhhh
asxasxdf
Generic hierarchy