Rebol Programming/cvs-date

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

USAGE:[edit | edit source]

CVS-DATE date 

DESCRIPTION:[edit | edit source]

Converts CVS date.

CVS-DATE is a function value.

ARGUMENTS[edit | edit source]

  • date -- (Type: any)

SOURCE CODE[edit | edit source]

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