What do you mean ‘date conversions on the fly’ ?
I believe the date needs to be like ‘mm/dd/yyyy hh:mm:ss’
Is there a function that I can supply various date formats to and it will output the proper format?
Looking at some of the other date fields they are formatted like this:
%b %d, %Y %I:%M:%S %p
so if I supplied the following would Blade convert to the proper format or do I need to convert before hand?
(input) 2013/11/08 11:30:23
(expected output) Nov 08, 2013 11:30:23 AM
Then look at strftime
yeah im using that already in my script to modify the outputs, just wondering if i have to put the date in a specific format to import as a server property. I'll just assume yes I need to format as per other date values and go for it
ah! learn from failure!
The proper way to format dates for input into a property with a type of DATE is....
Error Nov 8, 2013 1:43:21 PM Command execution failed. com.bladelogic.om.infra.model.typesystem.BlValueParseException: Unparseable date: "Unknown". Expected format is "yyyy-MM-dd HH:mm:ss"