Questions tagged [time]

The tag has no usage guidance.

Filter by
Sorted by
Tagged with
1 vote
1 answer
1k views

How to set Local Timezone when saving time into DB in Magento

I have applied following things to make Default time zone to my local timezone i.e. 'Asia/Calcutta' -- 1) changed in config.xml - <general> <locale> <code&...
0 votes
0 answers
18 views

How to add Multiple Delivery date and Timeline in ProductDetail page

In Magento 2.4, I need to add Multiple Delivery date and Timerange in Product Detail page. How to add this?
1 vote
1 answer
1k views

Order Date is correct on the order itself in Admin but incorrect in the Order Confirmation Email (it shows exactly 7 hours more)

The orders show the correct Order date in Admin but incorrect Order date (time) on the Confirmation Email. The time on the Confirmation Email is exactly (to the second) 7 hours more. An example: ...
0 votes
1 answer
177 views

add time delivery options and charge extra for it

I need to add an option for time deliveries which would be before 10 in the morning, before noon and before 4 p.m. and I need to put this somewhere in the order process... I would prefer to put this ...
0 votes
1 answer
22 views

Product Drop - Schedule Specific Time

We are using Magento 2 We sometimes have product drops with anticipated demand from social media with a specific time it will be available to purchase on our website Currently we have been listing the ...
14 votes
3 answers
8k views

Magento 2 Show timepicker using UiComponent not Datepicker [duplicate]

I want to show timepicker in my UiComponent form As Magento Docs show the variations they provide timepicker : I want this using UiComponent in my form. Note : Need to show schedule time so no ...
0 votes
1 answer
538 views

Magento2.3.4 different hours in REST API call GET Orders and the real order hour timezone

I have selected Timezone (Configuration->General->Locale Options) Central European Standard Time (Europe/Warsaw) Order 10004 has been created at: Sep 21, 2021, 5:59:34 PM When I send API ...
0 votes
0 answers
105 views

Magento 2: custom product import taking long time

We had a magento 2.3.0 multi-website shop and we use custom product import for shops. We use CLI script as a config for each shops and execute import with a common custom module handing few checkings. ...
0 votes
2 answers
772 views

Magento 2, Time is incorrect in Admin Grid

I use Magento 2.4.1. I have a problem with admin grid. In my edit form, I set Booking From is: 18:30:00 and Booking To is: 19:30:00 at timezone GMT+7. When I save, from, to are saved correctly to ...
0 votes
5 answers
2k views

How to Expire Link after 10 min

I want to Simply expire link after 10 min in PHP.Assuming I have create custom email send template.So in email i have added one link.So how to expire email link after 10 min. THANKS.
0 votes
4 answers
3k views

Magento2 not getting current time

I have tried different options but i am not getting the current time, time shows the gmt time, but actual time setting is asia/kolkatta, any one done this, please update the answer. protected $...
0 votes
1 answer
609 views

How to make customers to stop placing order after shop closing time in magento1.9?

Am designing one restaurant website and their delivery time 10:00 Am to 10:00 Pm. How to make customers to placing order after the working hours. Is there any simple way?
1 vote
1 answer
1k views

CountDown Timer not Working

I am trying to implement this circular timer on product Detail page by following the instructions. my catalog_product_view.xml code is <?xml version="1.0"?> <page xmlns:xsi="http://www....
0 votes
1 answer
203 views

How to add custom filed type in admin form in magento 2? time range picker

I want to create the custom time range picker type in Magento 2 admin form like below image
8 votes
2 answers
2k views

Soap API - How to get request by Limit 10 based on pagination?

I am getting products list using catalogProductList, its taking too long time to return the values(see screenshot) actually my products count is 24K, how can i run by using limit 10 and if i click ...
8 votes
2 answers
13k views

magento 2 - getCreatedAt() returns UTC time and not local time

I am trying to get the order time, I fixed the problem with orders with wrong time stamp in admin panel. Now I am trying to get the order date in my module. The problem is $created = $order->...
9 votes
2 answers
9k views

UI component - display the time to 'Y-m-d H:i:s' format(ISO time format)

I create some admin listing pages by UI component, the default time format in their time column all like below The UI component codes like below <column name="created_at" class="Magento\Ui\...
5 votes
2 answers
3k views

How to set default value for configuration field with type time

How can I set a default value for a field from system.xml with type time? <config xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="urn:magento:module:...
1 vote
0 answers
400 views

Product Special Price with hh:mm:ss

How to add hh:mm:ss for the special price date in magento.1.9?
1 vote
0 answers
111 views

Adding multiple products (csv files taking too much time)

So we have a CRM/Accounting/Sales/Inventory system called BrightPearl. This is used as our product database and we can import and export data into it using CSV. Files. I say product database and use ...
1 vote
0 answers
385 views

Magento 2 Website taking too much time to load?

I have created a website using Magento 2.1.12, after that, I have added some categories and products from the Magento backend. Is it taking too much time to load the front site as well as the admin ...
0 votes
2 answers
4k views

Magento2 - Order timestamp not correct

in our magento 2 store is see when new orders come in they are not timestamped correcty in the sales pages. They are all rounded of to hour:08:00 and do not show the real time when the order was ...
0 votes
2 answers
344 views

Magento get TimeStamp not working well

I want to display a specific attribute only when the set time is not passed. Therefore I created the following code: <?php $dateFrom = Mage::app()->getLocale()->storeTimeStamp(); $dateTo = $...
0 votes
1 answer
179 views

Magento is not sending newsletter due to cron job

I can't send newsletter because of cron job is not taking correct scheduled time in cron log Aoe_schedular given error like No heartbeat task found. Check if cron is configured correctly My ...
7 votes
3 answers
3k views

Magento 2 datatypes. Need TIME (of day)

It appears that column data type TIME (not datetime, just the time of day, for example 12:00) is not supported in Magento 2. I need to store a time of day, how to work around this? How should I go ...
0 votes
1 answer
33 views

Need to Change the timer [closed]

I need to know from where i can make changes in the time In the picture shown above , you can see a "clock" and "end in" Need to know from where i can access the area in the backend please help
0 votes
2 answers
53 views

Create_at Admin time is not correctly showing in magento1.9

my function is it is showing like Feb 22,2017 12:00:00 AM i need to display current time. public function ws_getPunchHistory($custid,$intime,$outtime,$inlocation,$outlocation,$punchstatus,$...
1 vote
1 answer
2k views

Database dates get stored in local timezone

I'm having trouble with a timezone issue and I'm looking for confirmation. Do dates get stored in the database in UTC. This seems to be th consensus I have found in other posts. For example: If ...
1 vote
0 answers
537 views

How to set start time and end time for coupon in Shopping Cart Price Rule

Currently, with Magento Shopping cart price rules, we can only set Start Date and End Date. How to set start time and end time along with date? Thank you in advance.
0 votes
1 answer
523 views

Magento related, can I change the cron job time interval with something new from my database?

For example, I got in config, <crontab> <jobs> <test> <schedule> <cron_expr>*/15 * * * *</cron_expr> </...
0 votes
2 answers
845 views

Time is not correct in the form in admin

I have added the date field in the custom form using below code : // Added start date field $fieldset->addField('start_date', 'date', array( 'label' => Mage::helper('slider'...
2 votes
0 answers
414 views

How can i Update My Product Export time consuming period for Bulk export products [duplicate]

In my store nearest 16,000 products are there, when i try to export both ways import/export or dataflow both are error. But when i export minimum of data i can able to export my products, which means ...
0 votes
1 answer
23 views

Does folder permission leads any error [duplicate]

I am not able to import and export my products, but one thing partially export working, which means 100's products successfully exported, but 1000's of products not able to export (In my site consists ...
1 vote
1 answer
356 views

Cronjob trouble after changing timezone

After made that: How to change Magento timezone My magento regional time was Europe/Paris but I tried to change to Europe/Budapest (both are the same..) AOE Scheduler says Last heartbeat is ...
0 votes
1 answer
664 views

What is the suggested value of max_execution_time and memory_limit for 20,000 products site for Bulk export

I am not able to export bulk products because time expiration. What is the suggested value to export over 20,000 products?
0 votes
1 answer
4k views

magento 2: How add time to datepicker in backend

I'am using magento 2.0.5 and I want to add date field with time which saves date as well as time in database for entity. I had tried this code to add new field in my module. $fieldset->addField('...
0 votes
2 answers
8k views

Adding the Now date/time format in Magento

Maybe someone could help me out here. I'm trying to get the correct date/time for this variable. <?php echo $rma['created_time']; ?> I've tried lots of ways. Mage::getModel('core/date')->...
3 votes
2 answers
1k views

caching topmenu.phtml

i have a custom topmenu.phtml that adds a lot of load time to run on every page how can i make it get cached and only regenerate the menu html once a day? thanks I tried searching but am getting ...
1 vote
1 answer
242 views

My order and order details collection query takes too much time suddenly

I am working on order collection query outside magento directory.It is working fine and also providing results. But suddenly fetching records time is more as compare to previous time. Now it takes ...
1 vote
1 answer
17 views

How to catch user checking out time?

I am trying to display a message for the user once they begin checking out a product past a certain time (10AM). How would I go about doing this? Is this even possible? I'm just not sure how to catch ...