WordPress at a glance
function is not described

Automattic\WooCommerce\Admin\Notes

Note::set_date_created() public WC 1.0

Set date note was created. NULL is not allowed

{} It's a method of the class: Note{}

No Hooks.

Return

null. Nothing.

Usage

$Note = new Note();
$Note->set_date_created( $date );
$date(string|int) (required)
UTC timestamp, or ISO 8601 DateTime. If the DateTime string has no timezone or offset, WordPress site timezone will be assumed.

Code of Note::set_date_created() WC 5.2.2

<?php
public function set_date_created( $date ) {
	if ( empty( $date ) ) {
		$this->error( 'admin_note_invalid_data', __( 'The admin note date prop cannot be empty.', 'woocommerce' ) );
	}

	$this->set_date_prop( 'date_created', $date );
}