π Week 45
Working With Multiple Locales In The Same Application In C# & .NET
[C#, NET]
As outlined in some earlier posts, you can set the locale of the current thread to whichever one you want.
Changing AM/PM Designation Application-Wide to Lowercase in C# & .NET
[C#, .NET]
In our previous post, βDisplaying AM/PM In Lower Case In C# & .NETβ, we looked at a quick-and-dirty way to display the time with the am/pm designator in lower case, like this - 06:13 pm.
Displaying AM/PM In Lower Case In C# & .NET
[C#, .NET]
When displaying the time, you have two options:
π Week 44
CurrentCulture vs CurrentUICulture in C# & .NET
[C#, .NET]
In our previous post, βDynamically Changing Date Separators at Runtime in C# & .NETβ, and in others, like βDynamically Changing Decimal & Thousand Separators At Runtimeβ, we have been modifying the culture that the current thread is running under.
Dynamically Changing Date Separators at Runtime in C# & .NET
[C#, .NET]
In our previous post, βWorking With / The Date Separator In C# & .NETβ, we looked at the runtime interpretation of the DateSeparator and how to force display of a particular symbol.
Working With "/" The Date Separator In C# & .NET
[C#, .NET]
When working with DateTime and DateOnly objects, you will inevitably end up outputting them. For this, you will generally need to use /, the date separator.
How To Add Files To The Root Of A Zip File With DotNetZip
[C#, .NET]
I was recently overhauling some code to add a new requirement to generate some files, process them, and add them to the root of the Zip file.
Deleting A Non-Existent File In Python
[Python]
In some earlier posts, βWhat Happens When You Do File.Delete For A Non-Existent File In C# & .NETβ and βWhat Happens When You Delete A Non-Existent File In Javaβ, we looked at how deletion of non existent files was treated in .NET and Java.
Programatic File And Directory HouseKeeping In C# & .NET
[C#, .NET]
In an earlier post, βWhat Happens When You Do File.Delete For A Non-Existent File In C# & .NETβ, I mentioned working on a utility that generated and processed some files.
What Happens When You Delete A Non-Existent File In Java
[Java]
In yesterdayβs post, βWhat Happens When You Do File.Delete For A Non-Existent File In C# & .NETβ, we looked at the intriguing fact that in .NET trying to delete a file that does not exist will not throw an exception.
π Week 43
What Happens When You Do File.Delete For A Non-Existent File In C# & .NET
[C#, .NET]
I was recently writing a small utility that needed to generate files, process them, add them to a zip archive, and then delete them.
Deconstructing A DateTime To Day, Month & Year In C# & .NET
[C#, .NET]
In a previous post, βDeconstructing A DateTime To Day, Month & Year In C# & .NETβ, we looked at how to deconstruct a DateTime into its Date and Time components.
Deconstructing A DateTime to Date and Time in C# & .NET
[C#, .NET]
Recently, I ran into a problem where I needed to extract the Date and Time components from a DateTime.
Getting the System Date in Microsoft SQL Server
[SQL Server]
When it comes to getting the current date and time in Microsoft SQL Server, you have a number of options:
Checking If A Year Is A Leap Year in C# & .NET
[C#, .NET]
A problem you may run into is checking whether a particular year is a leap year.
π Archives ...