Skip to content

A Go library which implements Zeller's Congruence

License

Notifications You must be signed in to change notification settings

umahmood/zellers

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

1 Commit
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Zellers Congruence

A Go library which implements Zeller's Congruence, which determines the day of the week for an arbitrary date.

For a wonderful article about Zellers formula read this article:

Installation

$ go get github.com/umahmood/zellers

Usage

package main

import (
    "fmt"

    "github.com/umahmood/zellers"
)

func main() {
    fmt.Println(zellers.Congruence(10, 15, 2019))
}

Output:

Tuesday

Documentation

http://godoc.org/github.com/umahmood/zellers

License

See the LICENSE file for license rights and limitations (MIT).

About

A Go library which implements Zeller's Congruence

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages