|
Bytescout Spreadsheet SDK for .NET
How to format cell to display formatted date time value in XLS spreadsheet generated/modified with using Bytescout Spreadsheet SDK This source code sample demonstrates how to format date value in cell in spreadsheet using Bytescout Spreadsheet for .NET applications Download example source code: bytescoutxls_date_formatting_for_cells.zip (8 KB) Output spreadsheet (XLS) screenshot:
using System; namespace HelloWorld // Get worksheet by name // Set captions for (int i = 1; i < 8; i++) // Set current cell // Set date. This is days since 01.01.1900 // Set date format // Save document // Close document // open generated XLS document in default program Download example source code: bytescoutxls_date_formatting_for_cells.zip (8 KB)
Documentation online: view (separate window) |
|
|
Copyright © ByteScout, 2003-2010. Privacy Statement
Microsoft®, Windows®, Windows 2000®, Windows Server®, Windows Vista®, Internet Explorer®, .NET Framework®, ActiveX®, Visual Basic®, Visual C#®, ASP®, ASP.NET®, Excel®, PowerPoint®, are either registered trademarks or trademarks of Microsoft Corporation in the United States and/or other countries. Adobe®, Flash® and Acrobat® are registered trademarks of Adobe Systems, Incorporated. Mozilla®, Firefox® and the Mozilla and Firefox Logos are registered trademarks of the Mozilla Foundation. Other product names or brandnames used herein are for identification purposes only and might be trademarks or registered trademarks of their respective companies. We disclaim any and all rights to those marks. |
|