https://bugs.documentfoundation.org/show_bug.cgi?id=161469
--- Comment #6 from Werner Tietz <werner-ti...@arcor.de> --- disclaimer: I'm NOT a c++ programmer @ https://opengrok.libreoffice.org/xref/core/basic/source/runtime/methods.cxx#2117 ? should it work with: ``` 2117 double Now_Impl() 2118 { 2119 DateTime aDateTime( DateTime::SYSTEM ); 2120 double aSerial = static_cast<double>(GetDayDiff( aDateTime )); 2121 tools::Long nSeconds = aDateTime.GetHour(); 2122 nSeconds *= 3600; 2123 nSeconds += aDateTime.GetMin() * 60; 2124 nSeconds += aDateTime.GetSec(); 2125 double nDays = static_cast<double>(nSeconds) / (24.0*3600.0); +2126 nano = aDateTime.GetNanoSec(); +2127 divisor = 86400000000000.0; +2128 double nanoSeconds = static_cast<double> nano / divisor ; 2129 aSerial += nDays; +2130 aSerial += nanoSeconds; 2129 return aSerial; 2130 } ``` ??? @Andreas Heinisch: but the question is: Why doesnt »Basic_now« use the same source as the »calc_now« ? both works obviously with the same epoch »1899-12-30« -- You are receiving this mail because: You are the assignee for the bug.