Date
Jump to navigation
Jump to search
Date
The Date module provides date and time functionality for the SCM programming language. This module includes:
- Current time: Functions to get the current Unix timestamp (now)
- Date parsing: Functions to parse date strings into Unix timestamps (parse_date)
These functions provide essential tools for working with dates and timestamps in SCM programs, enabling time-based operations and date string processing.
← Back to Full SCM API documentation
now
returns the unix timestamp
Allowed number of parameters: 0–0
Parameters:
This function has no parameters.
Returns: int
parse_date
parses unix date from a string
Allowed number of parameters: 1–1
Parameters:
- value (
string
): values to parse
Returns: int