XEROF

 

xlsgen 3.5 build #57 : Better dates


Build 3.5.0.57 of xlsgen improves how custom dates are inserted. Before this build, if you ran a statement such as :

worksheet.Date[row][col] = "15 august 2014";

xlsgen would actually parse the date by using the user's regional settings (Windows / Control panel / Regional settings), which means a date such as the one above would parse correctly ONLY if the user was using a US or UK regional settings. Otherwise this would return an error.

There was no way to specify a date format to help the parser.

Beginning with this build, xlsgen takes into account the existing style in the target cell when it parses a date to be inserted in that cell.

So if you pass a date format such as,

IXlsStyle s = worksheet.NewStyle();
s.NumberFormat = "dd-MMMM-yyyy";
s.Apply();

You can then use this :

worksheet.Date[row][col] = "15-august-2014";

and this date will be parsed correctly.

Posted on 15-August-2014 17:34 | Category: xlsgen, Excel generator | comment[0] | trackback[0]

 

 

<-- previous page

< May >
0102030405
0607080910
1112131415
1617181920
2122232425
2627282930
31



 

 

This site
Home
Articles

DevTools
CPU-Z
EditPlus
ExplorerXP
Kill.exe
OllyDbg
DependencyWalker
Process Explorer
autoruns.exe
Araxis
COM Trace injection
CodeStats
NetBrute
FileMon/Regmon
BoundsChecker
AQTime profiler
Source monitor
GDI leaks tracking
Rootkit revealer
Rootkit removal
RunAsLimitedUser(1)
RunAsLimitedUser(2)

 

 

Liens
Le Plan B
Un jour à Paris
Meneame
Rezo.net (aggr)
Reseau voltaire
Cuba solidarity project
Le grand soir
L'autre journal
Le courrier suisse
L'Orient, le jour
Agoravox (aggr)