package dropbox

  1. Overview
  2. Docs

Date representation.

type wday = Dropbox_date.wday =
  1. | Sun
  2. | Mon
  3. | Tue
  4. | Wed
  5. | Thu
  6. | Fri
  7. | Sat

Day of week.

type month = Dropbox_date.month =
  1. | Jan
  2. | Feb
  3. | Mar
  4. | Apr
  5. | May
  6. | Jun
  7. | Jul
  8. | Aug
  9. | Sep
  10. | Oct
  11. | Nov
  12. | Dec

Month.

val day : t -> int

Day of the month (1-31).

val month : t -> month

Day of the month (1-31).

Month

val year : t -> int

Month

4 digits year

val hour : t -> int

4 digits year

Hour

val min : t -> int

Hour

Minutes

val sec : t -> int

Minutes

Seconds

val wday : t -> wday

Seconds

Day of week

val to_string : t -> string