timestamp2parts: timestamp2parts

View source: R/getBaseStationFiles.R

timestamp2partsR Documentation

timestamp2parts

Description

timestamp2parts

Usage

timestamp2parts(timestamp)

Arguments

timestamp

date and time to decompose.

Value

list with parts useful to replace variables in URL (loosely adopted from URL_LIST.txt of RTKLIB)

  • Y -> yyyy : year (4 digits) (2000-2099)

  • y -> yy : year (2 digits) (00-99)

  • m -> mm : month (01-12)

  • d -> dd : day of month (01-31)

  • h -> hh : hours (00-23)

  • H -> a : hour code (a-x)

  • M -> mm : minutes (00-59)

  • n -> ddd : day of year -julianday (001-366)

  • W -> wwww : gps week (0001-9999)

  • D -> d : day of gps week (0-6)

Examples

timestamp2parts( (Sys.time() - 14*60*60*24) )

fpirotti/rRINEX documentation built on Sept. 1, 2022, 9:34 p.m.