By tag: DateTime
0
kicks
Ruby inspired C# Extension Methods for natural DateTime operations
FluentDateTime is a open source library of Ruby inspired C# Extension Methods for easier and more natural DateTime handling and operations in .NET that allows you to write code like this:
DateTime.Now + 1.Week() + 3.Days + 14.Minutes();
3.Days().Ago();
5.Days().After(new DateTime(2000, 1, 1));
D...
0
kicks
Json [Date -> String -> Date]
For them who have problems with Date on client. Conversion both sides.
0
kicks
The MonthCalendar is now kryptonized
This free component from VisualHint (localizable, nullable, not limited to 1753-9998, today and clear buttons, ...) can now be painted with the beautiful Krypton toolkit palettes (built-in and custom).
0
kicks
A free localizable MonthCalendar
A new custom MonthCalendar has been added to the VisualHint's products and it is also free when used standalone.
0
kicks
Displaying time in relative format
Many websites specially forum sites display time relative to the current time as “3 Hours 25 Minutes ago”, “30 Seconds ago” etc. In this post I will show a method using which we can convert datetime into descriptive relative time string.
0
kicks
Frames per second in the DateTimePicker and TimeSpan editor
Smart FieldPackEditor.Net adds a new "Frames per second" field for datetime and timespan types in their respective editors.
0
kicks
Take control of DateTime’s ToString() method.
An example how to format DateTime with ToString() method.
0
kicks
A Better Way to Extract Data from DateTime
A better and safer way to get date and time using the datetime object.
0
kicks
SQL Server: The one and only locale insensitive date format
Until recently i've been sure that there are 2 date formats that are completly locale insensitive.
Those 2 i are yyyy-mm-dd HH:mm:ss.fff and yyyymmdd HH:mm:ss.fff.
And i was proven wrong a few days ago!
0
kicks
Performance consequence of DateTime.Parse()
This post explains the performance cost of using DateTime.Parse() and goes on to explain a possible solution.
0
kicks
SQL Server DateTime Formatting
Usually the formatting of a DateTime value into a more readable date and time is dealt with by the client application. However, there are some situations were it is useful to convert a DateTime into a formatted character string within a SQL statement.
0
kicks
How to perform DateTime calculations in a right way
When coding, be careful if you need to perform DateTime calculations (add/subtract) on values representing time zones that practice daylight savings time.
0
kicks
A Brief History of DateTime
As two new core date/time types are added to .NET framework 3.5, Anthony Moore from the Base Class Library team discusses the history and design challenges of dates, times and time zones in the .NET framework.