Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/kadocolak/datetime-js
Open source web service that performs operations on date variables and objects with Javascript and returns results
https://github.com/kadocolak/datetime-js
Last synced: 4 days ago
JSON representation
Open source web service that performs operations on date variables and objects with Javascript and returns results
- Host: GitHub
- URL: https://github.com/kadocolak/datetime-js
- Owner: kadocolak
- Created: 2023-12-25T21:17:01.000Z (about 1 year ago)
- Default Branch: main
- Last Pushed: 2023-12-25T21:29:53.000Z (about 1 year ago)
- Last Synced: 2024-11-05T16:31:05.541Z (about 2 months ago)
- Language: JavaScript
- Size: 3.91 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# What is this?
It is an open source javascript software. You can copy and paste the code, add to it and contribute to its development.# What good will this do?
In Javascript-based websites and software, you will quickly access every relevant parameter and data without having to deal with details such as re-creating date variables or setting up the structure skeleton.# What are example functions?
## getdateTimeNow
Shows current date information as year-month-day hour:minute:seconds## getDateYear
Return current year by int value## getDateMonth
Return current month by int value## getDateDay
Return current day by int value## getDateHour
Return current hour by int value## getDateMinute
Return current minute by int value## getDateSecond
Return current second by int value## weekOfDay
Returns the day of the week in the current date## monthOfDay
Returns the day of the month in the current date## dateDiff
Returns the difference between two entered dates as a number in seconds## secondToDate
Returns a sentence by calculating the variable given in seconds in day, hour, minute and second format.## NOTES
The date format and words were prepared in Turkish and according to Turkish standards.