[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [libreoffice-users] Function WEEK in Base

Hi Harvey,

> Does anyone know why the function WEEK returns a zero for Tuesday, Jan
> 1st, 2019? i.e. WEEK('19-01-01')

Must be WEEK('2019-01-01'), if you are using the internal HSQLDB. Gives
'1' here.
Must be EXTRACT(WEEK FROM CAST('2019-01-01' AS TIMESTAMP)), if you are
using internal Firebird. Also the result is '1' here.
> According to my calendar it should be week 1 and, in Calc, the WEEKNUM
> and ISOWEEKNUM both return 1. (WEEKNUM starts the week on Sunday,
> ISOWEEKNUM on Monday, but otherwise no difference)


Homepage: http://robert.familiegrosskopf.de
LibreOffice Community: http://robert.familiegrosskopf.de/map_3

To unsubscribe e-mail to: users+unsubscribe@global.libreoffice.org
Problems? https://www.libreoffice.org/get-help/mailing-lists/how-to-unsubscribe/
Posting guidelines + more: https://wiki.documentfoundation.org/Netiquette
List archive: https://listarchives.libreoffice.org/global/users/
Privacy Policy: https://www.documentfoundation.org/privacy

Re: [libreoffice-users] Function WEEK in BaseHarvey Nimmo <harvey@nimmo.de>
[libreoffice-users] Function WEEK in BaseHarvey Nimmo <harvey@nimmo.de>
Privacy Policy | Impressum (Legal Info) | Copyright information: Unless otherwise specified, all text and images on this website are licensed under the Creative Commons Attribution-Share Alike 3.0 License. This does not include the source code of LibreOffice, which is licensed under the Mozilla Public License (MPLv2). "LibreOffice" and "The Document Foundation" are registered trademarks of their corresponding registered owners or are in actual use as trademarks in one or more countries. Their respective logos and icons are also subject to international copyright laws. Use thereof is explained in our trademark policy.