[gradsusr] Q Time

Bill Reilly bill_reilly at compuserve.com
Wed Jul 29 09:09:24 EDT 2015


Stuart:

You can put this anywhere you want in your code, but it must be after 
you've opened the data file and before you need to acces the variables 
(dayofweek, day, etc.).

Regards,

Bill

--

Bill Reilly
(+34) 686-110-748

bill at passageweather.com
www.passageweather.com

bill at brwebworks.com
www.brwebworks.com

On 7/29/2015 2:54 PM, Chorley Weather wrote:
> On 29-07-2015 12:12, Bill Reilly wrote:
>> Stuart:
>>
>> 'q time'
>> dayofweek = subwrd(result,8)
>> day = substr(result, 11,2)
>> month = substr(result, 13,3)
>> year = substr(result, 16,4)
>> hour = substr(result,8,2)
>>
>> I hope this helps.
>>
>> Bill
>>
>> --
>>
>> Bill Reilly
>> (+34) 686-110-748
>>
>> bill at passageweather.com
>> www.passageweather.com
>>
>> bill at brwebworks.com
>> www.brwebworks.com
>>
>> On 7/29/2015 12:05 PM, Chorley Weather wrote:
>>> Hi Guys,
>>>
>>> I have been trying to add the day of the week to my output which is
>>> currently as such Valid: 06z05AUG2015 I have tried using a Q time code
>>> but I cant seem to get it working. I have attached a scrip, so if
>>> anybody can help I would be eternally grateful. There is probably an
>>> easy solution but I have not managed to work this out.
>>>
>>> Regards,
>>> Stuart.
>>>
>>>
>>>
>>> _______________________________________________
>>> gradsusr mailing list
>>> gradsusr at gradsusr.org
>>> http://gradsusr.org/mailman/listinfo/gradsusr
>>
>> _______________________________________________
>> gradsusr mailing list
>> gradsusr at gradsusr.org
>> http://gradsusr.org/mailman/listinfo/gradsusr
> Thanks for the Reply Bill, I have this code but the question is, where
> in the script should I place it and should i remove any of the original
> script to make room so to speak!!!
>
> Regards,
> Stuart.




More information about the gradsusr mailing list