Example #1
0
 private static void ConvertDateTime(GenxyWriter writer, DateTime date)
 {
     writer.WriteToken(GenxyToken.Date);
     writer.WriteInteger(date.Year);
     writer.WriteChar('.');
     writer.WriteInteger(date.Month);
     writer.WriteChar('.');
     writer.WriteInteger(date.Day);
     writer.WriteChar('.');
     writer.WriteInteger(date.Hour);
     writer.WriteChar('.');
     writer.WriteInteger(date.Minute);
     writer.WriteChar('.');
     writer.WriteInteger(date.Second);
 }