Convert Unix Date to Real Date

21 views
Skip to first unread message

مهند العياش

unread,
Oct 5, 2023, 5:37:15 PM10/5/23
to The Ring Programming Language

Hello Mahmoud et All...

I searched in Ring about Function while I am working on new library, but unfortunately I did not find built-in function to do this so I created my own...

So I suggest to Make   "EpochTime And The function that Convert the time and date from unix to real time and date" functions as built-in functions that works without loading any library !

Also I faced a wide-range of problems when printing Unix format In Ring ,While in C lang it is very easy to use 
for example:

printf("\033[H\033[J");

this will clear screen insteade of using 
system('cls')

This is what i wanted to mention in my message :D

Thanks A lot...
Best wishes...
ph. Mohannd Alayash
unixDate.ring

Mahmoud Fayed

unread,
Oct 5, 2023, 6:04:50 PM10/5/23
to The Ring Programming Language
Hello Mohannad

Thanks for sharing :D

Suggestion: Creating a ring package using RingPM and sharing this in GitHub 

This way we can easily install/use this code at any time.

Greetings,
Mahmoud

Reply all
Reply to author
Forward
0 new messages