Skip to content


Subversion checkout URL

You can clone with
Download ZIP
Tree: c3b57c5751
Fetching contributors…

Cannot retrieve contributors at this time

29 lines (21 sloc) 0.838 kB
#lang scribble/manual
@(require scribble/eval
(for-label (this-package-in main)))
@(define my-eval (make-base-eval))
@title{stardate: compute the current TNG stardate}
@author+email["Danny Yoo" ""]
The package computes the current stardate based on the scheme used by
Trek, The Next Generation}.
@interaction[#:eval my-eval
(require (planet dyoo/stardate))
(require racket/date)
(date->stardate (current-date))]
Note: this package has not yet been reviewed by the Starfleet Corps of
Engineers for its accuracy, and should not be be used for galactic
archival purposes.
@defproc[(date->stardate [a-date date]) string]{
Given a date, produces its stardate as a string.
Jump to Line
Something went wrong with that request. Please try again.