Skip to content
/ greg Public

converts between Gregorian dates and R.D. (Rata Die) day numbers

License

Notifications You must be signed in to change notification settings

hebcal/greg

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

greg

Build Status Go Report Card GoDoc

Hebcal's greg package converts between Gregorian dates and R.D. (Rata Die) day numbers.

Example

package main

import (
	"fmt"
	"time"

	"github.com/hebcal/greg"
)

func main() {
	rataDie := greg.ToRD(1995, time.December, 17)
	fmt.Println(rataDie)
	// Output: 728644
}

About

converts between Gregorian dates and R.D. (Rata Die) day numbers

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages