REBOL Programming/cvs-date

From Wikibooks, open books for an open world
< REBOL Programming
Jump to: navigation, search

USAGE:[edit]

CVS-DATE date 

DESCRIPTION:[edit]

Converts CVS date.

CVS-DATE is a function value.

ARGUMENTS[edit]

  • date -- (Type: any)

SOURCE CODE[edit]

cvs-date: func [
    "Converts CVS date." 
    date
][
    date: parse date none 
    to-date rejoin [date/2 "/" date/3]
]