FileTimeStamp: Filename Time Stamp

Description Usage Arguments Details Value Author(s) See Also Examples

Description

Date-time string to make file names unique

Usage

1
FileTimeStamp(current.time)

Arguments

current.time

The current time determined with base::as.POSIXct()

Details

Create a date-time string to append to filenames to try and make them unique. The date-time string has the format month-day-year_hour-minute; for example, May 4, 2016 at 12:34pm is represented as may042016_1234.

NOTE: This is a non-public function.

Value

A string with the date and time.

Author(s)

Emilio Xavier Esposito emilio@exeResearch.com

See Also

Other utilities: ConservationSet, DetermineChainsOfInterest, ExtractFileTimeStamp, ExtractPDBids, HasXWaters, Nearby, ProtHetWatIndices, RescaleValues, RetainChainsOfInterest, ReturnPDBfullPath, StandardizeAsparticAcidNames, StandardizeCysteineNames, StandardizeGlutamicAcidNames, StandardizeHistidineNames, StandardizeLysineNames, TimeSpan, UniqueAtomHashes, aaStandardizeNames, getAtomTypeCounts, getResTypeCounts, res2xyz, resAtomType2AtomClass, write.basic.pdb, write.conservedWaters.pdb

Examples

1
2
3
4
5
6
  ## Not run: 
  current.time <- as.POSIXct("2016-05-04 12:34:56.78", tz = "UTC")
  FileTimeStamp(current.time)
  # [1] may042016_1234
  
## End(Not run)

vanddraabe documentation built on June 8, 2019, 1:03 a.m.