TimeLord library question

I try to calculate Sidereal Time using TimeLord Library - no luck.
I did - sunrise, sunset, moonphase, season, dayoftheweek and another options, but can't get Sidereal Time.
Can somebody give few lines of code to get this calculation work.
I did try follow TimeLord h and cpp file and also:
Time Lord Library (instructables.com)
All works fine - except Sidereal time
Thx in advance

Post the code, using code tags, and explain what went wrong.

Hint: Instructables is one of the last places I would look for reliable information. Most of the entries are posted by people who have little to no idea what they are doing, and there is no quality control whatsoever.

A quick test seems to give the expected answer.

#include <TimeLord.h>

// set longitude (west values negative) and latitude (south values negative)
float lon = -123.0;
float lat = 44.00;

void setup()

  Serial.begin (9600);

  TimeLord here;
  here.TimeZone(-8 * 60); // timezone in minutes from UTC
  here.Position(lat, lon); // set location

  uint8_t today[] = { 0, 32, 20, 9, 12, 21 }; // store today's date and time (format SS, MM, HH, DD, MM, YY)

  Serial.print("   local time/date: ");
  for (int i = 0; i < 6; i++) {
    Serial.print(", ");
     Serial.print("GMT time/date: ");
     for (int i = 0; i < 6; i++) {
     Serial.print(", ");
  Serial.print("Sidereal time/date: ");
  here.Sidereal(today, true); //true=local
  for (int i = 0; i < 6; i++) {
    Serial.print(", ");

void loop()

The PDF file which is referred to by the link in the OP, and now included here, contains some typing errors which have been spread throughout that document by copy paste editing and could be confusing.

TimeLord Arduino Library.pdf (90.6 KB)

Here is one of many examples (corrected):

// what time does the sun rise on Xmas day of 2009, in Southwest Florida?
TimeLord myLord;
myLord.Position(26.9, -81.8) // set position to SouthWest Florida
// byte sunRise = {0, 0, 0, 25, 12, 9);   // bad line
byte sunRise[ 6 ] = {0, 0, 0, 25, 12, 9};  // correction
myLord.SunRise(sunRise) ;

I think, nevertheless, that the document could be useful for users of the TimeLord library which itself can now be found here: GitHub - probonopd/TimeLord: Arduino library with many time and date related functions... Daylight Savings, Moon Phase, Sidereal time, with the SunRise library rolled in.. The person who wrote it appears to have had at least some understanding of the library.

And a bit of history of the TimeLord development can be found here: What happened to...

I use the library myself in a time switch project.

Thank You very much for your help. Your code suggestion works perfectly fine. I didn't understand h file correctly - I'm still on very steep learning curve.
Once again - thank you.

Thank you very much for pointing me to error and more sources.