Click here to Skip to main content
15,508,758 members
Home / Discussions / C#
   

C#

 
QuestionRe: Convering time representation format Pin
Member 1532961323-Sep-21 10:32
Member 1532961323-Sep-21 10:32 
GeneralRe: Convering time representation format Pin
Mycroft Holmes23-Sep-21 13:50
professionalMycroft Holmes23-Sep-21 13:50 
GeneralRe: Convering time representation format Pin
Pete O'Hanlon23-Sep-21 21:29
mvaPete O'Hanlon23-Sep-21 21:29 
GeneralRe: Convering time representation format Pin
Peter_in_278023-Sep-21 22:03
professionalPeter_in_278023-Sep-21 22:03 
QuestionHow to convert Persian date representation? Pin
Alex Dunlop15-Sep-21 21:31
Alex Dunlop15-Sep-21 21:31 
AnswerRe: How to convert Persian date representation? Pin
BillWoodruff15-Sep-21 22:31
mveBillWoodruff15-Sep-21 22:31 
GeneralRe: How to convert Persian date representation? Pin
Alex Dunlop15-Sep-21 23:05
Alex Dunlop15-Sep-21 23:05 
GeneralRe: How to convert Persian date representation? Pin
BillWoodruff15-Sep-21 23:22
mveBillWoodruff15-Sep-21 23:22 
Okay, then is the formatting you want done on a machine using Persian Calendar as the default ?

If yes, then can't standard ToString Format syntax (as used in Farsi ?) give you what you want ?

C#
DateTime dt = new DateTime(1400, 6, 7);

string fmt = dt.ToString("yyyy/MM/dd");

// => 1400/06/07

«The mind is not a vessel to be filled but a fire to be kindled» Plutarch

GeneralRe: How to convert Persian date representation? Pin
Alex Dunlop16-Sep-21 2:11
Alex Dunlop16-Sep-21 2:11 
GeneralRe: How to convert Persian date representation? Pin
Richard Deeming16-Sep-21 2:26
mveRichard Deeming16-Sep-21 2:26 
GeneralRe: How to convert Persian date representation? Pin
BillWoodruff16-Sep-21 5:23
mveBillWoodruff16-Sep-21 5:23 
GeneralRe: How to convert Persian date representation? Pin
Richard Deeming16-Sep-21 5:53
mveRichard Deeming16-Sep-21 5:53 
GeneralRe: How to convert Persian date representation? Pin
BillWoodruff16-Sep-21 6:01
mveBillWoodruff16-Sep-21 6:01 
GeneralRe: How to convert Persian date representation? Pin
BillWoodruff21-Sep-21 9:52
mveBillWoodruff21-Sep-21 9:52 
GeneralRe: How to convert Persian date representation? Pin
Richard Deeming21-Sep-21 22:45
mveRichard Deeming21-Sep-21 22:45 
GeneralRe: How to convert Persian date representation? Pin
BillWoodruff22-Sep-21 0:21
mveBillWoodruff22-Sep-21 0:21 
GeneralRe: How to convert Persian date representation? Pin
Richard Deeming22-Sep-21 0:24
mveRichard Deeming22-Sep-21 0:24 
GeneralRe: How to convert Persian date representation? Pin
BillWoodruff22-Sep-21 1:53
mveBillWoodruff22-Sep-21 1:53 
GeneralRe: How to convert Persian date representation? Pin
BillWoodruff16-Sep-21 2:28
mveBillWoodruff16-Sep-21 2:28 
QuestionC# Confusion about LINQ Grouping Pin
Mou_kol15-Sep-21 0:11
Mou_kol15-Sep-21 0:11 
AnswerRe: C# Confusion about LINQ Grouping Pin
Richard Deeming15-Sep-21 0:42
mveRichard Deeming15-Sep-21 0:42 
GeneralRe: C# Confusion about LINQ Grouping Pin
Mou_kol15-Sep-21 0:51
Mou_kol15-Sep-21 0:51 
GeneralRe: C# Confusion about LINQ Grouping Pin
Richard Deeming15-Sep-21 1:41
mveRichard Deeming15-Sep-21 1:41 
GeneralRe: C# Confusion about LINQ Grouping Pin
Mou_kol15-Sep-21 4:51
Mou_kol15-Sep-21 4:51 
GeneralRe: C# Confusion about LINQ Grouping Pin
Richard Deeming15-Sep-21 5:15
mveRichard Deeming15-Sep-21 5:15 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.