Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Chriss Miller on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

ECS - Updating the CreateTime?

Status
Not open for further replies.

JzS

Programmer
Oct 26, 2000
2
CA
I want to update the createtime of the entry using ECS. I have the date and time (i want) in a text string as 20001026120000.0Z - but I can't seem to update the create time with this value.
I can do it using seconds since epoch - (modify input_event( CreateTime =>123456789123) but this isn't very practical...anyone have any suggestions?

Thanks in advance.
 
I found my own solution - for those interested:

converted the string "20001030125959.0Z" to integers
(i.e. int1 = 2000, int2 = 10 etc)
using the undocumented (integerOf)

then use the impode_time function to make a time variable out of integers
theTime = implode_time (Time.year =>int1, Time.month =>int2,...........)

then of course to update the create time:
input_event alter (CREATION_TIME =>theTime)
Thanks.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top