https://t.me/ARX49
Server : LiteSpeed
System : Linux server321.web-hosting.com 4.18.0-513.18.1.lve.el8.x86_64 #1 SMP Thu Feb 22 12:55:50 UTC 2024 x86_64
User : apotdzgr ( 7060)
PHP Version : 8.0.30
Disable Function : NONE
Directory :  /home/apotdzgr/www/wp-content/plugins/mycryptocheckout/vendor/plainview/sdk/form2/inputs/

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

Current File : //home/apotdzgr/www/wp-content/plugins/mycryptocheckout/vendor/plainview/sdk/form2/inputs/date.php
<?php

namespace plainview\sdk_mcc\form2\inputs;

/**
	@brief		Text input with date formatting.
	@author		Edward Plainview <edward@plainview.se>
	@copyright	GPL v3
	@version	20130524
**/
class date
	extends number
{
	public $type = 'date';

	public function _construct()
	{
		// Remove all non-numbers from the value.
		$this->add_value_filter( 'date' );
	}

	/**
		@brief		Returns a valid date.
		@param		string		$value		String value containing a date.
		@return		float		Date in Y-m-d.
	**/
	public function value_filter_date( $value )
	{
		$date = strtotime( $value );
		return date( 'Y-m-d', $date );
	}
}

https://t.me/ARX49 - 2025