Changeset 16 for trunk/Packages
- Timestamp:
- Nov 15, 2012, 2:01:43 PM (12 years ago)
- Location:
- trunk/Packages
- Files:
-
- 5 added
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/Packages/CoolWeb/Persistence/USqlDatabase.pas
r15 r16 92 92 function SQLToTime(Value: string): TDateTime; 93 93 function DateTimeToSQL(Value: TDateTime): string; 94 function TimeToSQL(Value: TDateTime): string; 95 function DateToSQL(Value: TDateTime): string; 94 96 95 97 procedure Register; … … 176 178 end; 177 179 180 function TimeToSQL(Value: TDateTime): string; 181 begin 182 Result := FormatDateTime('hh.nn.ss', Value); 183 end; 184 185 function DateToSQL(Value: TDateTime): string; 186 begin 187 Result := FormatDateTime('yyyy-mm-dd', Value); 188 end; 189 178 190 function SQLToTime(Value: string): TDateTime; 179 191 var
Note:
See TracChangeset
for help on using the changeset viewer.