Skip to contents

Setter for CreateTimeStamp

Usage

seasonder_setSeaSondeRAPM_CreateTimeStamp(seasonde_apm_obj, new_value)

Arguments

seasonde_apm_obj

SeaSonderAPM object

new_value

new value

Value

The modified SeaSondeRAPM object with updated CreateTimeStamp.

Examples

apm_file <- system.file("css_data/MeasPattern.txt", package = "SeaSondeR")
apm_obj <- seasonder_readSeaSondeRAPMFile(apm_file)
#> seasonder_createSeaSondeRAPM:  APM object created successfully.
new_create_time_stamp <- as.POSIXct("2000-01-01 00:00:00", tz = "UTC")
apm_obj <- seasonder_setSeaSondeRAPM_CreateTimeStamp(apm_obj, new_create_time_stamp)
print(attributes(apm_obj)$CreateTimeStamp)
#> [1] "2000-01-01 UTC"