How many days ago unix time was obtained in mysql. First obtain the current time based on now (), use the adddate () method to get the time 60 days ago, use the unix_timestamp () method to convert the time type selectUNIX_TIMESTAMP (ADDDATE (NOW (), INTERVAL-60DAY )) first, use the adddate () method to obtain the current time based on now ().
How many days ago unix time was obtained in mysql. First, obtain the current time based on now (), use the adddate () method to obtain the time 60 days ago, and use the unix_timestamp () method to convert the time type select UNIX_TIMESTAMP (ADDDATE (NOW (), INTERVAL-60 DAY) first obtain the current time using the adddate () method based on now ().
How many days ago unix time was obtained in mysql.
First, obtain the current time based on now (), use the adddate () method to obtain the time 60 days ago, and use the unix_timestamp () method to convert the time type.
Select UNIX_TIMESTAMP (ADDDATE (NOW (), INTERVAL-60 DAY ))
Obtain the current time based on now ().
Use the adddate () method to obtain the time 60 days ago
Use unix_timestamp () to convert the time type