whoami7 - Manager
:
/
home
/
topsuzmw
/
public_html
/
wp-content
/
plugins
/
extendify
/
src
/
Assist
/
lib
/
Upload File:
files >> /home/topsuzmw/public_html/wp-content/plugins/extendify/src/Assist/lib/recommendations.js
export const isAtLeastNDaysAgo = (dateString = new Date(), numDays = 0) => { const siteCreatedDaysAgo = Math.floor( (new Date() - new Date(dateString)) / (1000 * 60 * 60 * 24), ); // Account for future time zones by min 0 return Math.max(0, siteCreatedDaysAgo) >= Number(numDays); };
Copyright ©2021 || Defacer Indonesia