facebook twitter google+ linkedin reddit delicious stumbleupon

CurrentSeconds.so

Gang stalking electronic harassment implants website sharing buttons gang stalking electronic harassment implants

gsehi.com > Computing > Software > Mac OS > CurrentSeconds.so

Current seconds Finder icon

ZIP file icon Download CurrentSeconds.so (StuffIt X, 0.7 K)

Purpose

On January 28, 2006, PLT-Scheme 1.0.1 started to display a negative value for (current-seconds). Such values can’t be converted to dates.

This extension solves this problem.

Limitations

This fix will work until Monday, February 6th, 2040.

Background

It was written in C.

It’s PPC code.

Use

Copy CurrentSeconds.so to the same folder as your source code and open the source code in DrScheme.

Examples

Example 1

(require-library "date.ss")

(define now (current-seconds))
(define today (seconds->date now))
(define readable (date->string today))

readable

Result:

seconds->date: integer -916207598 is out-of-range

Example 2

Current seconds example

CurrentSeconds.ss:

(load-extension "CurrentSeconds.so")

(require-library "date.ss")

(define now (current-seconds))
(define today (seconds->date now))
(define readable (date->string today))

readable

Result:

"Tuesday, January 25th, 2011"

Disclaimer

This software is provided as is. There is no guarantee whatsoever. I will under no circumstance accept any liability for possible damage.

This software is licensed to you, for your own use. This is copyrighted software. You are not obtaining title to the software or any copyright rights. You may not sublicense, rent, lease, convey, modify, translate, convert to other programming languages, decompile, or disassemble this software for any purpose.

You may make as many copies of this software as you need for back-up purposes. In addition, you may use this program on more than one computer.

I disclaim all warranties relating to this software, whether expressed or implied, including but not limited to any implied warranties of merchantability and fitness for a particular purpose, and all such warranties are expressly and specifically disclaimed. I will never be liable for any indirect, consequential, or incidental damages arising out of the use or inability to use such software even if I have been advised of the possibility of such damages or claims. In no event shall my liability for any damages ever exceed the price paid for the license to use the software, regardless of the form of the claim. The person using the software bears all risk as to the quality and performance of the software.

© 2017 Cliff Huylebroeck