« first day (1148 days earlier)      last day (1280 days later) » 

12:45 AM
<EditText
            android:id="@+id/text"
            android:layout_width="fill_parent"
            android:layout_height="wrap_content"
            android:layout_weight="0.32"
            android:background="@color/white"
            android:ems="10"
            android:gravity="top"
            android:hint="Write Here"
            android:paddingLeft="3dp"
            android:paddingRight="3dp"
            android:text="fdasgadsjydfghj;adfhgtldfgihftadefhgd&apos;fjnfhndkfdasgadsjydfghj;adfhgtldfgihftadefhgd&apos;fjnfhndk"
thats the text field,
this is the parent:


    <LinearLayout
        android:id="@+id/bottom_write_bar"
        android:layout_width="fill_parent"
        android:layout_height="100dp"
        android:layout_alignParentBottom="true"
        android:background="@color/white" >
 
user457812
3 messages moved from Android
 
8:19 AM
How do I calculate the angle between the hour and minutes hands?

function getAngleOfClock($hourHand,$minuteHand)
{
//First method
//$covertMinuteIntoDigit=$minuteHand/5;
//$getMinuteAngle=12/$covertMinuteIntoDigit;
//return 30*($hourHand - $covertMinuteIntoDigit)+(1/$getMinuteAngle)*30;

//Second Method
return abs(($hourHand * 30 + $minuteHand * 0.5) - ($minuteHand * 6));

}
echo getAngleOfClock(2,10);

can anyone suggest me please, which one is correct to use means First method or Second Method or none
 
What language is that?
 
php
for 2:30, 4:15 i am getting correct angle but for few wrong
 
4 messages moved from Lounge<Cloak>
 
 
4 hours later…
12:17 PM
 
1 message moved from Lounge<Cloak>
 
 
6 hours later…
6:40 PM
ROOM 11 WINS
 
2 messages moved from PHP
 

« first day (1148 days earlier)      last day (1280 days later) »