Scilab Function

kal2gpsweek - Returns the GPS-week for a given calendar date.

Calling Sequence

weeks = kal2gpsweek(year,month,day)

Parameters

Description

Calculates the GPS-week from the given date (year, month, day).

The first day of the GPS-week is sunday, counting from 22. Aug. 1999, beginning with 0 (GPS week rollover).

Details: Zeitdefinitionen:GPS

No warranty, there are no inputchecks..

Authors

cos area7@web.de

Used Function

datenum