ondrej
d899c9fca4
* FileGetDate, FileSetDate with TDateTime and UTC
...
git-svn-id: trunk@47396 -
2020-11-12 13:36:39 +00:00
ondrej
934f2dc55d
* introduce NowUTC() and GetUniversalTime()
...
git-svn-id: trunk@47306 -
2020-11-04 09:34:08 +00:00
ondrej
a02d676b06
GetLocalTimeOffset: add InputIsUTC parameter to DateTime-aware overloads
...
git-svn-id: trunk@47293 -
2020-11-03 18:15:16 +00:00
ondrej
b51729dac5
File datetime UTC support
...
git-svn-id: trunk@47210 -
2020-10-26 20:39:21 +00:00
ondrej
0d08b98d47
GetLocalTimeOffset: DateTime-aware overloads (Windows supported, Unix is a ToDo). Issue #35710
...
git-svn-id: trunk@47206 -
2020-10-26 12:29:18 +00:00
florian
01302bc47d
* subroutines working with an OS dependend time stamp use an int64 now, so the 2038 problem
...
on unixes can be tackled
git-svn-id: trunk@44010 -
2020-01-21 20:59:20 +00:00
marco
6ca93e294f
* SecsPerHour, delphi compatibility.
...
git-svn-id: trunk@42452 -
2019-07-17 21:15:17 +00:00
pierre
ec45d8617c
Fix wince rtl compilation (fix for bug report 32859)
...
git-svn-id: trunk@37778 -
2017-12-21 17:45:20 +00:00
nickysn
5409450195
+ ported and enabled compilation of unit sysutils for win16
...
git-svn-id: trunk@37734 -
2017-12-15 16:58:49 +00:00
michael
06227c9557
* Fix bug ID #31814 , StrToDateTimeDef with FormatSettings parameter
...
git-svn-id: trunk@36214 -
2017-05-15 13:10:56 +00:00
michael
5cd12a2521
* Better m/mm format specifier docs (bug ID 31449)
...
git-svn-id: trunk@35892 -
2017-04-22 10:02:29 +00:00
michael
0958ff80de
* Fix bug #28364
...
git-svn-id: trunk@31185 -
2015-07-01 19:57:10 +00:00
Jonas Maebe
d57a85a2de
* fixed compilation on non-Windows systems after r31035
...
git-svn-id: trunk@31043 -
2015-06-13 22:05:50 +00:00
michael
633c8c7118
* Make sure TSystemTime is seen by fpdoc
...
git-svn-id: trunk@31035 -
2015-06-13 16:36:37 +00:00
michael
9ae76c3246
* Fix bug ID #27751 (Fill SystemTime.DayOfWeek)
...
git-svn-id: trunk@30384 -
2015-03-29 21:02:26 +00:00
michael
046b7626dd
* Reworked patch from Werner Pamler (bug ID 26168) to add support for periods
...
git-svn-id: trunk@27801 -
2014-05-18 07:24:59 +00:00
michael
042e6243a3
* Fixed bug #20522 , adapted patch from Bart Broersma
...
git-svn-id: trunk@27775 -
2014-05-11 18:04:52 +00:00
nickysn
8926a3268c
* fixed TTimeStamp for integer=smallint
...
git-svn-id: trunk@27087 -
2014-03-10 22:31:48 +00:00
svenbarth
b288179d56
Fix for Mantis #24929 .
...
rtl/sysutils/datih.inc:
+ add StrToDate overload which allows passing of specific TFormatSettings parameter
rtl/sysutils/dati.inc:
* implement new StrToDate overload by calling IntStrToDate similar to StrToTime
git-svn-id: trunk@25392 -
2013-09-01 12:46:54 +00:00
Jonas Maebe
349a682596
* corrected license header from GPL to LGPL + static linking exception like
...
the rest of the FPC RTL, after confirming with the original author that
this is ok (mantis #22879 )
git-svn-id: trunk@22413 -
2012-09-17 12:12:42 +00:00
michael
64ab9c06d3
* Added GetLocalTimeOffset function
...
git-svn-id: trunk@21865 -
2012-07-11 09:56:34 +00:00
Jonas Maebe
df9c8652be
* add default parameter values defined in implementation also to interface
...
(they don't have effect when they only appear in the implementation, and
therefore this situation will cause an error in the future)
git-svn-id: trunk@21523 -
2012-06-07 22:36:15 +00:00
marco
b59c42f2c7
* removed exporting a non standard strtotime, which was a workaround for missing
...
formatsettings/locale versions. Patch by Lacak2, Mantis #19870 (3rd)
git-svn-id: trunk@18110 -
2011-08-06 12:19:44 +00:00
marco
bf65638891
* strtodatetime adapted to new strtotime regime. Take separator from formatsettings.
...
Second patch fo Mantis #19870
git-svn-id: trunk@18100 -
2011-08-05 13:37:16 +00:00
marco
52afb619aa
* add overloaded strtotime, patch by Lacak2, Mantis #19870
...
git-svn-id: trunk@18093 -
2011-08-04 17:01:34 +00:00
marco
b3ea1668db
* improvements to sysuitls date/time formatting routines: (Mantis 14905,Sergei)
...
- Adds threadsafe (Delphi-compatible) versions of DateToStr,
TimeToStr, DateTimeToStr, FormatDateTime.
- Core functionality moved to DateTimeToString, which directly
uses 'out' parameter in order to avoid unnecessary result copying.
- Modified the code so no temporary AnsiStrings are used (speed).
- Fixes a bug which would cause infinite recursion if
(Short|Long)DateFormat variable would contain 'd' character or,
likewise, (Short|Long)TimeFormat would contain 't'.
- Fixes numerous small Delphi compatibility issues, like: empty format
string has the same effect as 'C'; overlong tokens treated as the
longest possible ones (e.g. 'ddddddddd' is the same as 'dddddd');
'AM/PM' is output preserving its case, etc.
- minor reformating
git-svn-id: trunk@14116 -
2009-11-08 15:07:00 +00:00
marco
8bc0583045
* trystrto* variants with formatsettings.
...
git-svn-id: trunk@14018 -
2009-11-03 21:20:10 +00:00
michael
dadd6631ad
* Patch from Alex Rayne (bug ID 14622) to provide some overloaded versions of the strtodate/strtotime functions
...
git-svn-id: trunk@13864 -
2009-10-16 08:16:55 +00:00
marco
c8da24f732
* comment fix #10781
...
git-svn-id: trunk@10435 -
2008-03-03 08:28:26 +00:00
mazen
7c19e36595
* Added implementation for Julian date computaton.
...
git-svn-id: trunk@9604 -
2007-12-31 16:34:45 +00:00
michael
8793de3166
* Applied patch from Sergei Gorelkin for ComposeDateTime and IncAMonth
...
git-svn-id: trunk@9600 -
2007-12-30 22:20:11 +00:00
florian
628452f04d
+ ReplaceDate
...
git-svn-id: trunk@7794 -
2007-06-24 15:15:53 +00:00
michael
bb9d6120ed
* TFormatSettings implementation, stage 1
...
git-svn-id: trunk@5876 -
2007-01-10 22:32:05 +00:00
marco
2f8f88f801
* Replacetime. Bug #7680
...
git-svn-id: trunk@5033 -
2006-10-27 18:29:00 +00:00
marco
304be38ec1
* datetotime-def functions (but not yet FormatSettings) + ansidequotedstr (turned
...
out to be extractquotestr wrapper).
git-svn-id: trunk@5032 -
2006-10-27 18:20:02 +00:00
Jonas Maebe
327718e0c4
* changed some var parameters in out parameters to avoid warnings
...
git-svn-id: trunk@4341 -
2006-08-03 16:47:10 +00:00
joost
391dc9a9fb
+ Implemented ComposeDateTime for general use
...
git-svn-id: trunk@4007 -
2006-06-29 22:18:18 +00:00
florian
34176d3d9a
* fixed bootstrapping with 2.0.x
...
git-svn-id: trunk@3473 -
2006-05-11 07:36:45 +00:00
florian
0bbbfd23e5
* wince has to reuse also TSystemTime from the Windows unit inside the sysutils unit
...
git-svn-id: trunk@3472 -
2006-05-10 20:21:56 +00:00
florian
89f8474388
* unified and moved some win32/win64 stuff
...
+ more units on win64 compile
git-svn-id: trunk@3131 -
2006-04-02 20:52:17 +00:00
marco
dd063d920d
* currentyear (bug 4904)
...
git-svn-id: trunk@3031 -
2006-03-25 15:07:54 +00:00
peter
4ace790492
* remove $Log
...
git-svn-id: trunk@231 -
2005-06-07 09:47:55 +00:00
fpc
790a4fe2d3
* log and id tags removed
...
git-svn-id: trunk@42 -
2005-05-21 09:42:41 +00:00
michael
ffb55c4254
+ Removed VER1_0 defines
...
git-svn-id: trunk@33 -
2005-05-19 21:14:45 +00:00
fpc
50778076c3
initial import
...
git-svn-id: trunk@1 -
2005-05-16 18:37:41 +00:00
florian
207e67cc4d
+ cycling with 1.0.x fixed, hopefully the last fix of this for ever ;)
2005-05-08 08:03:15 +00:00
florian
bf179526ff
+ TryStrToDate/Time functions
2005-05-07 10:23:17 +00:00
marco
2efe42a051
* fixed incmonths default param. Thnks nldelphi
2005-03-17 15:21:10 +00:00
peter
e417e34496
* truncate log
2005-02-14 17:13:06 +00:00
michael
07583c11a7
TwoDigitYearCenturyWindow is 50
2003-11-26 20:15:46 +00:00