Osclass forums

Support forums => General help => 3.8.x => Topic started by: Germar on June 04, 2019, 10:46:56 am

Title: Expiration date at the item
Post by: Germar on June 04, 2019, 10:46:56 am
Hi,

Is it possible to place the expiration date (dt_expiration) of an item at the itemdisplay?

Regards, Germar
Title: Re: Expiration date at the item
Post by: calinbehtuk on June 04, 2019, 11:49:41 am
The normal date in the format that is saved in database

<?php echo osc_item_dt_expiration(); ?>

And formatted date using osclass function

<?php echo osc_format_date(osc_item_dt_expiration()); ?>
Title: Re: Expiration date at the item
Post by: Germar on June 04, 2019, 01:08:20 pm
The normal date in the format that is saved in database

<?php echo osc_item_dt_expiration(); ?>

And formatted date using osclass function
 
<?php echo osc_format_date(osc_item_dt_expiration()); ?>

Thanks calinbehtuk for the help! Implemented and it works!