Learn R Programming

miceadds (version 2.10-14)

systime: R Utilities: Various Strings Representing System Time

Description

This function generates system time strings in several formats.

Usage

systime()

Arguments

Value

A vector with entries of system time (see Examples).

Examples

Run this code
# NOT RUN {
#############################################################################
# EXAMPLE 1: Output of systime
#############################################################################
	
systime()
  ##  
  ##  > miceadds::systime()
  ##  [1] "2016-02-29 10:25:44"        
  ##  [2] "2016-02-29"                 
  ##  [3] "20160229"                   
  ##  [4] "2016-02-29_1025"            
  ##  [5] "2016-02-29_1000"            
  ##  [6] "20160229_102544"            
  ##  [7] "20160229102544"             
  ##  [8] "IPNERZW-C014_20160229102544"
# }

Run the code above in your browser using DataLab