FarPoint.Win.Spread.CellType.DateTimeCellType datecell = new FarPoint.Win.Spread.CellType.DateTimeCellType();
datecell.DateTimeFormat = FarPoint.Win.Spread.CellType.DateTimeFormat.ShortDateWithTime;
fpSpread1.Sheets[0].Cells[1, 1].CellType = datecell;
fpSpread1.Sheets[0].Cells[1, 1].Value = System.DateTime.Now;
fpSpread1.Sheets[0].Cells[1, 0].CellType = new FarPoint.Win.Spread.CellType.DateTimeCellType(datecell);
fpSpread1.Sheets[0].Cells[1, 0].Value = System.DateTime.Now;
Dim datecell As New FarPoint.Win.Spread.CellType.DateTimeCellType()
datecell.DateTimeFormat = FarPoint.Win.Spread.CellType.DateTimeFormat.ShortDateWithTime
fpSpread1.Sheets(0).Cells(1, 1).CellType = datecell
fpSpread1.Sheets(0).Cells(1, 1).Value = System.DateTime.Now
fpSpread1.Sheets(0).Cells(1, 0).CellType = New FarPoint.Win.Spread.CellType.DateTimeCellType(datecell)
fpSpread1.Sheets(0).Cells(1, 0).Value = System.DateTime.Now