package cpdf

  1. Overview
  2. Docs
PDF command line tools

Install

Dune Dependency

Authors

Maintainers

Sources

v2.7.1.tar.gz
md5=9dc2502c6e97a786cdd1af5e1db5a2e1
sha512=b23c1c151f095d11b6c3c56766cdc05aa6b12a0e1224880a050f69f67c4d40053f2415ac3f9e54233bf8314ca8bdfccc2c65dd44b0c6d60ae8d7c08b1c411a04

doc/cpdf/Cpdfstrftime/index.html

Module Cpdfstrftime

C-style strftime

Supports the following format specifiers: %a %A %b %B %s %e %H %I %j %m %M %p %S %T %u %w %Y %%

type t = {
  1. _tm_sec : int;
  2. _tm_min : int;
  3. _tm_hour : int;
  4. _tm_mday : int;
  5. _tm_mon : int;
  6. _tm_year : int;
  7. _tm_wday : int;
  8. _tm_yday : int;
  9. _tm_isdst : bool;
}

Our version of Unix's tm, so Unix not required

val current_time : unit -> t

Get the time now

val dummy : t

A dummy time value

val strftime : ?time:t -> string -> string

Strftime. If time omitted, the current time is used.

OCaml

Innovation. Community. Security.