Skip to main content
Home
Toggle menu

Main navigation

  • Home
  • Blogs

October 2013

jQuery - Find element by Text

The above code will find the HTML element i.e. div in our case, containing text as "John", and add underline to it.
  • Read more about jQuery - Find element by Text

Get number of hours between 2 timezones

Here is how you can find the difference between two different timezones
<?php
  // Set time to UTC
  date_default_timezone_set("UTC");
  $utc = date("Y-m-d h:i:s A"); // Get current time as per UTC.
  • Read more about Get number of hours between 2 timezones

How to use drupal_http_request()

Recently I was working on a project where I was wanted to make a request to another website to submit data from Drupal site. PHP provides very useful method for it i.e. cURL.
  • Read more about How to use drupal_http_request()

Monthly archive

  • March 2019 3
  • September 2018 1
  • July 2018 2
  • April 2018 1
  • August 2017 1

Pagination

  • Next page ››
sfy39587stp18