gmtime returns the a date/time based on the number of seconds in its parameter. In your example, the first one returns a date/time as nextExpected seconds, and the second one s is also seconds. The seconds parameter is referenced to the epoch value.
To get the date in C#, you could use:
DateTime t = new DateTime(nextExpected * TimeSpan.TicksPerSecond);
[Edit]
Note: The Epoch used in gmtime in Python may be different than the Epoch used by C#. C# Epoch is January 1, 0001 AD, 12:00 Midnight. In Unix the Epoch is January 1, 1970, and is different on Windows systems. To get the Epoch, you can run the following Python command:
gmtime(0)
[Edit 2]
If you know what the epoch is, you can do this:
DateTime epoch = new DateTime(1970, 1, 1);
DateTime t = epoch.AddSeconds(nextExpected);