Geeks With Blogs


View Anthony Trudeau's profile on LinkedIn

Add to Technorati Favorites

Anthony Trudeau January 2013 Entries
Timestamp to String
The SQL Server TIMESTAMP data type is represented as a byte array in the .NET Framework (byte[] in C#). You may have the need for any number of reasons to provide a representation of the timestamp that can be displayed to the user or for debugging purposes. This may seem complicated at first glance, but the .NET Framework already includes methods to complete the operation in a few lines of code. The only trick that you need to know is if the helper object treats the bits as big endian or little ending ......

Posted On Saturday, January 5, 2013 7:41 PM

Copyright © Anthony Trudeau | Powered by: