Ein Treffpunkt für C#-Programmierer
Anonymous
Wie speichere ich eine Datumszeit mit Millisekunden in ein DateTime -Objekt in C#?
Post
by Anonymous » 02 Mar 2025, 22:52
Ich habe ein Wörterbuch mit einem Schlüssel im DateTime -Objekt. < /p>
Code: Select all
static Dictionary messageList = new Dictionary();
< /code>
Ich möchte nicht die Zeit mit Millisekunden als Schlüssel speichern. < /p>
static Dictionary messageList = new Dictionary();
Ich möchte die Datenzeit am 01.01.2008 00: 30: 45.125 als Schlüssel zum Wörterbuch.
1740952331
Anonymous
Ich habe ein Wörterbuch mit einem Schlüssel im DateTime -Objekt. < /p> [code]static Dictionary messageList = new Dictionary(); < /code> Ich möchte nicht die Zeit mit Millisekunden als Schlüssel speichern. < /p> static Dictionary messageList = new Dictionary(); [/code] Ich möchte die Datenzeit am 01.01.2008 00: 30: 45.125 als Schlüssel zum Wörterbuch.
0 Replies
11 Views
Last post by Anonymous
27 Feb 2025, 10:36
0 Replies
5 Views
Last post by Guest
24 Feb 2025, 03:51
0 Replies
7 Views
Last post by Anonymous
24 Feb 2025, 13:07
0 Replies
18 Views
Last post by Guest
13 Jan 2025, 10:06
0 Replies
17 Views
Last post by Anonymous
09 Apr 2025, 03:10