Dating routine translate
Remark: Note that the date conversion function is not available in OS/2 Warp and REXX/6000.
Please be also aware that the functions retrieving file dates are not available in VM/CMS and MVS/TSO.
(However, the year ended on December 31, leaving the days between in limbo.) This module assumes January 1 is the first day of the year. The "Transition" argument is the first Julian date to be considered as belonging to the Gregorian calendar.
C., the months were Jan=31, Feb=29(30), Mar=31, Apr=30, May=31, Jun=30, Jul =31, Aug=30, Sep=31, Oct=30, Nov=31, Dec=30 This module assumes the month lengths as we know them. The United Kingdom, in particular, started the year on March 25 until 1752.
Having been a freelance translator for over 10 years, I can definitely say it is my dream job. However, when I started researching a career as a freelance translator in 2002, I did not know much about the profession or the business, let alone what was required to be successful.
I would highly recommend a career as a freelance translator, but not everyone can become a good freelance translator.
Your translations will be read by native speakers with a lot of experience in the field in which you translate, so if you can’t write at the level at which your audience reads, you will cause a lot of trouble for both yourself and your clients.
May additionally have a "calendar" attribute with one of the following values: : Many users have reported a "60 second" bug in several of NCL's date conversion routines, in which you get a value of "n minutes, 60 seconds" instead of "n 1 minutes, 0 seconds". If you encounter this bug, please email the ncl-talk group with the details.
To succeed as a freelance translator, you have to be a very good writer, with excellent grammar and knowledge of different writing styles in your native language.
If you are only nearly bilingual, you should only translate into your native language.
/* function checking the validity of an ISO date */ vali Date: procedure parse arg ISOdate /* catch syntax error produced by wrong date value */ signal on syntax dummy = Date(, ISOdate, 'Standard') return 0 /* is valid date */ syntax: return 1 /* is invalid date */ /* function checking for a leap year of an ISO date */ is Leap: procedure parse arg ISOdate /* catch syntax error produced by wrong date value */ signal on syntax dummy = Date(, substr(ISOdate,1,4)'0229', 'Standard') return 1 /* is valid date, -- /* US daylight saving time dates for a year */ ds Dates: procedure parse arg year if arg() = 0 then do /* Help text */ say 'Calculate the beginning and ending of Daylight' say 'Savings Time in the US' say ' (First Sunday in April and last Sunday in October)' say 'Usage: ds Dates To retrieve a date associated with a file, two alternatives are available, the Stream built-in function and the REXX Utility function Sys File Tree.
How these are properly used is described in the following examples.