ExtractFileTimeStamp: Extract Filename Time Stamp

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

Description

Extract date & time stamp from a file

Usage

1

Arguments

filename

String of the file name to extract the FileTimeStamp information

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, ExtractPDBids, FileTimeStamp, 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: 
  filename <- "ConservedWaters_PASSED_may042016_1234.pdb"
  ExtractFileTimeStamp(filename)
  # [1] may042016_1234
  
## End(Not run)

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