Displaying 3 results from an estimated 3 matches for "strdate".
Did you mean:
strate
2012 May 21
2
Error : can't dup NilClass, in Heroku
...9;'%H:%M:%S''
DATE_FORMAT_YYYY_MM_DD_HH_MM_SS=''%Y-%m-%d %H:%M:%S''
DATE_FORMAT_YYYY_MM_DD_T_HH_MM_SS=''%Y-%m-%dT%H:%M:%S''
DATE_FORMAT_YYYYMMDDHHMMSS=''%Y%m%d%H%M%S''
DATE_FORMAT_DAY_OF_WEEK="%A"
def stringFormatDate(strDate,format)
if strDate!=nil
begin
return Time.parse(strDate).strftime(format)
rescue
Rails.logger.error("StringUtils:stringFormatDate, str #{strDate},
#{$!}")
end
end
return strDate
end
* def dateTimeFromString(strDate) *
begin
retur...
2012 Oct 14
0
Asking help about drawing and saving candle chart automatically....
...ile as julian date
juldate_start <- as.integer(as.Date("2011-11-01"))
for(i in 1:5)
{
# increased date and convert it as Date class again
convdate <- as.Date(juldate_start + i)
# reformat date as recognizable string by quantmod
format(convdate, format="yyyy-mm-dd")
strdate <- as.character(convdate)
print(strdate)
# make daily range
daterange <- paste( strdate, "::", strdate, sep="" )
print(daterange)
jpegname <- paste(strdate, ".jpeg", sep="")
#### jpeg( filename=jpegname, width=1200, height=400 )
tryCatch(c...
2010 Jan 22
4
How to seperate date and time into different columns?
Dear All,
I have a series of data in which the first column consist of a combination of date and time, for instance 17 April 2008 at 4.01pm, such data is recorded as:
4/17/2008 16:01
I'd like to seperate it into four different columns which consist of Day, Month,Year and Time, respectively.
Could someone please advice me on this mater?
Thank you,
Fir