Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > comp.os.linux.advocacy > #413093
| From | "F. Russell" <fr@random.info> |
|---|---|
| Newsgroups | comp.os.linux.advocacy |
| Subject | Re: Response Challenge to the Dumb-Fuck Shill (DFS) |
| Date | 2017-05-05 08:30 +0000 |
| Organization | NewsGuy - Unlimited Usenet $23.95 |
| Message-ID | <oehd7301o7t@news4.newsguy.com> (permalink) |
| References | (1 earlier) <oeg5910boc@news7.newsguy.com> <oegd5k$27u$1@dont-email.me> <oegdoi011v0@news3.newsguy.com> <oegfef012l5@news3.newsguy.com> <oegma5$fj0$2@dont-email.me> |
On Thu, 04 May 2017 22:03:20 -0400, DFS wrote:
>
> It's very simple stuff.
>
Ha, ha, ha, ha, ha, ha, ha, ha, ha, ha, ha, ha!
FIFTY LINES of sluggish Microshit code!
My C function only needs THREE LINES and, for speed,
can leave that Microshit junk light years behind in
the dust.
> mthArr =
> Split("January,February,March,Apr,May,June,July,August,September,October,November,December",
> ",")
>
Ha, ha, ha, ha, ha, ha, ha, ha!
What about "Jan, Feb, Mar ...." That stupid VB code is limited
only to FULL month names whereas my C code can handle FULL or
ABBREVIATED month names.
Now, quickly modify that junk-shit VB to handle ISO Week dates:
https://en.wikipedia.org/wiki/ISO_week_date
Example: 2009-W53-5 = Fri 1 Jan 2010
My wonderful C code can be modified to accept ISO Week dates
in 5 seconds.
But we'll see you in 2088.
Ha, ha, ha, ha, ha, ha, ha, ha, ha, ha, ha, ha!
Again, here is my wonderful and fantastic C function.
>>
>> ==============================================================
>> Begin C Function
>> ==============================================================
>> #define _XOPEN_SOURCE
>> #include <time.h>
>> #include <string.h>
>>
>> void convert_date(char *date_to_convert, char *fmtin, char *fmtout, size_t maxout, char *converted_date)
>> {
>> time_t curr, diff;
>> struct tm curr_date;
>>
>> memset(&curr_date, 0, sizeof curr_date);
>> strptime(date_to_convert, fmtin, &curr_date);
>> diff=(time_t)((curr_date.tm_wday==0?0:(7-curr_date.tm_wday)*86400))+mktime(&curr_date);
>> strftime(converted_date, maxout, fmtout, localtime(&diff));
>> }
>>
>> ================================================================
>> End C Function
>> ================================================================
>>
>> This is a C function. It is NOT a stand-alone program.
>>
>> It uses GNU gibc, the best C library in the world.
Back to comp.os.linux.advocacy | Previous | Next — Previous in thread | Next in thread | Find similar
Response Challenge to the Dumb-Fuck Shill (DFS) "F. Russell" <fr@random.info> - 2017-05-04 20:01 +0000
Re: Response Challenge to the Dumb-Fuck Shill (DFS) "F. Russell" <fr@random.info> - 2017-05-04 21:08 +0000
Re: Response Challenge to the Dumb-Fuck Shill (DFS) DFS <nospam@dfs.com> - 2017-05-04 19:26 -0400
Re: Response Challenge to the Dumb-Fuck Shill (DFS) "F. Russell" <fr@random.info> - 2017-05-04 23:33 +0000
Re: Response Challenge to the Dumb-Fuck Shill (DFS) "F. Russell" <fr@random.info> - 2017-05-05 00:02 +0000
Re: Response Challenge to the Dumb-Fuck Shill (DFS) DFS <nospam@dfs.com> - 2017-05-04 22:03 -0400
Re: Response Challenge to the Dumb-Fuck Shill (DFS) "F. Russell" <fr@random.info> - 2017-05-05 08:30 +0000
Re: Response Challenge to the Dumb-Fuck Shill (DFS) DFS <nospam@dfs.com> - 2017-05-05 14:59 -0400
Re: Response Challenge to the Dumb-Fuck Shill (DFS) DFS <nospam@dfs.com> - 2017-05-04 18:47 -0400
Re: Response Challenge to the Dumb-Fuck Shill (DFS) "F. Russell" <fr@random.info> - 2017-05-04 23:06 +0000
csiph-web