d_time -.+ <ts_type, ts_name> =
{
  internal =                                     
  {                                              
    word year;                                 
    byte month, day;                             
    byte hours, mins, seconds;                   

    byte flags;
  };

  timestamp = 
  {
    ts_type ts_name;
  };

  internal _; timestamp _;
};

datetime = d_time <ulong64, milliseconds>;
