dateutils
dateutils copied to clipboard
nifty command line date and time utilities; fast date calculations and conversion in the shell
Hi there, und vielen Dank für dieses sehr handy Tool. I do not manage to use ddiff with nanoseconds `> dateutils.ddiff -i "%0H:%0M:%0S.%N" '12:00:00.000000000' '12:01:01.1000000000' -f '%0S.%N'` `> 61.` Do...
```bash function DateDuration() { DateOther=${1:?"Enter a date in iso format. e.g. \$(date --iso-8601=seconds -d 'last mon')"} DateNow=$(date --iso-8601=seconds -d "now") # Current date in ISO Format datediff -f '%Y years,...
Building dateutils-0.4.6 on OS X 10.13, get a ton of this set of warnings. Here's the first such: ``` gcc -std=gnu11 -DHAVE_CONFIG_H -I. -I../src -D_POSIX_C_SOURCE=200112L -D_XOPEN_SOURCE=600 -D_BSD_SOURCE -DDECLF=extern -DLIBDUT -I....
Building dateutils-0.4.6 on OS X 10.13... ``` yuck.c:1175:6: warning: implicit declaration of function '_NSGetExecutablePath' is invalid in C99 [-Wimplicit-function-declaration] if (_NSGetExecutablePath(buf, &z) != 0) { ^ ``` ``` time-core.c:124:13: warning:...
[Symmetry454](https://www.individual.utoronto.ca/kalendis/symmetry.htm) is an alternative calendar which fixes a great deal (all?) of the poor design decisions of the Gregorian calendar. Below is my short-list (cherry-picked from the above link): *...
I'm running the following on Ubuntu 18 Package: dateutils Version: 0.4.2-1 ``` ubuntu@testy:~$ dateutils.strptime -i '%d/%m/%Y %H:%M:%S' 'no date here' strptime: cannot make sense of `no date here' using the...
Thank you for this great little tool. You helped me resolve a large data entry issue wherein the dates i was given were off by a factor. I was able...
Thank you for maintaining such useful software. Does the following demonstrate a bug? ``` ■ uname -srvmo Linux 5.0.0-arch1-1-ARCH #1 SMP PREEMPT Mon Mar 4 14:11:43 UTC 2019 x86_64 GNU/Linux...
Hi Ubuntu 18.04 user here. dateutils.dround -n 2019-01-13 1y 2019-01-13 I would expect output woult 2020-01-01 I also tried 2y without a difference. I also tried dateutils.dround now 1y Trying...
The following: dateutils.dconv -i '%d-%b-%y %I.%M.%S.%N %p' '26-JAN-19 12.02.23.823355000 AM’ Returns ‘2019-01-26T12:02:23’ but should return ‘2019-01-26T00:02:23’