ReoGrid Forum

Fast and powerful .NET Spreadsheet Component

You are not logged in.

Announcement

This forum has been archived and no longer accepts new user registrations. Please report your questions, problems, and feedback to the issue page of ReoGrid on GitHub. Thank you for your cooperation.

https://github.com/unvell/ReoGrid/issues

#1 2016-11-30 23:04:57

floyd
Member
Registered: 2016-11-30
Posts: 2

DateTime Format

Hi,

Thank you for the wonderful library.  I was wondering if its possible to format datetime to show milliseconds?  Something like this format "dd/MM/yyy hh:mm:ss.fff"

Offline

#2 2016-11-30 23:13:45

Jingwood
Moderator
From: jing at reogrid.net
Registered: 2014-06-03
Posts: 615

Re: DateTime Format

Yes I think you can do that by setting the cell format pattern to "dd/MM/yyy hh:mm:ss.fff".

Or you can format text by yourself, this way gives you any possibility of cell text. To do that: set text format type to 'Text' and set cell data to DateTime.ToString("dd/MM/yyy hh:mm:ss.fff")

Offline

#3 2016-11-30 23:59:04

floyd
Member
Registered: 2016-11-30
Posts: 2

Re: DateTime Format

Thank you. I think i figured it out, using SetRangeDataFormat()

Offline

Board footer

Powered by FluxBB