Finding out if a X Time Zone is in midnight

Hello G.s,

I am working on scheduler module for which I want to know, if any X time
zone is in mid night now ?

Is there any library/gem for this purpose ? or if not what would be a
good logic to know this ?

Thanks,
SC

On 24 March 2014 04:20, Saurav C. [email protected] wrote:

Hello G.s,

I am working on scheduler module for which I want to know, if any X time
zone is in mid night now ?

I, for one, do not understand your question. Can you clarify please.

Colin

It’ll be the UTC - (current time in UTC). For example, if the current
time
is 8:00 AM UTC, then the UTC -8:00 will be the timezone that will be
midnight at that instant.

On Mon, Mar 24, 2014 at 2:04 PM, Colin L. [email protected] wrote:


You received this message because you are subscribed to the Google G.
“Ruby on Rails: Talk” group.
To unsubscribe from this group and stop receiving emails from it, send an
email to [email protected]
To post to this group, send email to [email protected]
To view this discussion on the web visit

https://groups.google.com/d/msgid/rubyonrails-talk/CAL%3D0gLvJvJ_OzD4Exv2jpE3vHLH5yeLrhPX4Vy6-rKniZ70aoA%40mail.gmail.com

.
For more options, visit https://groups.google.com/d/optout.


Regards,
Abdulsattar Mohammed
http://codingtales.com

This forum is not affiliated to the Ruby language, Ruby on Rails framework, nor any Ruby applications discussed here.

| Privacy Policy | Terms of Service | Remote Ruby Jobs