cancel
Showing results for 
Search instead for 
Did you mean: 

netbackup command line & date format

Graeme_Welsh
Level 5
have been attempting to script some stuff with bpimmedia scripts, unfortunately, it uses the american time format of mm/dd/yyyy, instead of european format, is it possible to use european dates? (server regional settings configured as english UK)
3 REPLIES 3

zippy
Level 6
Graeme,

Use date.

http://unixhelp.ed.ac.uk/CGI/man-cgi?date


JD

Stumpr2
Level 6
unfortuantely the answer is no.
You will have to convert the eurodate.

However, you may try -hoursago xxx
I don't know if it is supported on this command.
It is not listed as an option but ....

Graeme_Welsh
Level 5
yep, im using hours ago, running the script on monday morning, and then using hoursago with a value of 50 to get all the weekends backups in, it works, but im not 100% happy with it